sts.c

./lib/skills/cleric/sts.c · 711 B

From the archive h7v3.0a.tar.gz

Download the archive   « Back to the archive contents

/** sticks to snakes **/

status sts(string targ, mixed alt_type) {
  int time;

  if(!alt_type) alt_type = "nature_sphere";
  time = (objectp(alt_type))
       ? (int)alt_type->query_cast_level()  /* wands */
       : (int)call_other(this_player(),"query_"+alt_type);

  this_player()->load_spell(({
  "target",            environment(this_player()),
  "name",              "Sticks to Snakes",
  "sphere",            alt_type, 
  "cost",              11,
  "damage",            time,
  "level",             11,
  "cast time",         1,
  "spell object",      "skills/obj/snakes",
  "passive",
  "component",         "stick#timber#branch#torch",
  }));
  return 1;
}

/* Native Mode Move */

#include <move.h>

Site Stats

Snippets: 1791
Codebases: 571