goodberr.c

./lib/skills/cleric/goodberr.c · 501 B

From the archive h7v3.0a.tar.gz

Download the archive   « Back to the archive contents

/* GOODBERRY SPELL */  

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

  if(!alt_type) alt_type = "nature_sphere";

  this_player()->load_spell(({
  "target",            this_player(),
  "name",              "Goodberry",
  "sphere",            alt_type, 
  "cost",              6,
  "level",             6,
  "cast time",         1,
  "passive",
  "component",         "berry",
  "spell object",      "skills/obj/berry",
  }));
  return 1;
}

/* Native Mode Move */

#include <move.h>

Site Stats

Snippets: 1791
Codebases: 571