ebl.c

./lib/skills/cleric/ebl.c · 716 B

From the archive h7v3.0a.tar.gz

Download the archive   « Back to the archive contents

/* ebl - everburning log */

#define NAME "@@query_name:$this_player()$@@"  /* gives greater flexibilty */

status ebl(string targ, mixed alt_type) {
  if(!alt_type) alt_type = "nature_sphere";
  this_player()->load_spell(({
  "target",            this_player(),
  "name",              "Ever Burning Log",
  "sphere",            alt_type, 
  "cost",              1,
  "level",             1, /* 16 - 4*4 cast time */
  "cast time",         5,
  "spell object",      "skills/obj/sp_torch",
  "component",         "stick#branch#torch",
  "passive",
  "casting msg",       "You focus upon the timber.\n",
  "casting msg room",  NAME +" chants slowly.\n",
  }));
  return 1;
}

/* Native Mode Move */

#include <move.h>

Site Stats

Snippets: 1791
Codebases: 571