poison.c

./lib/skills/cleric/poison.c · 647 B

From the archive heaven7_2v06.tar.gz

Download the archive   « Back to the archive contents

/** Poison **/

status poison(string targ, mixed alt_type) {
  int level;

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

  this_player()->load_spell(({
  "target",            targ,
  "name",              "Poison",
  "sphere",            alt_type, 
  "cost",              14,
  "damage",            level,
  "immune",            "poison",
  "spell object",      "objects/poison",
  "level",             14,
  "cast time",         1,
  }));
  return 1;
}


/* Native Mode Move */

#include <move.h>

Site Stats

Snippets: 1791
Codebases: 571