WIZARD.C

LIB3/D/HOME/CITY/MONSTERS/WIZARD.C · 1.1 KB

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

#include "path.h"
inherit DEFMONSTER;

setup() {
        set_level(12+random(12));
        set_name("wizard");
        set_short("wizard");
        set_long("A prestidigitator. Don't let him "+
                "near any rabbits, or he will pull hats "+
                "out of them. True wizards have a dislike for these false wizards..\n");
        set_main_plural("wizards");
        set_race("human");
        set_class("wizard");
        add_alias("magician");
        set_gender(1);
        set_al(5);
        adjust_money(50+random(50), "copper");
        set_aggressive(0);
        add_move_zone("mid");
        add_move_zone("trader");
clone_object(ARMOURS+"pointedhat.arm")->move(this_object());
init_equip();
load_chat(20, ({
        1, ":mumbles something.\n",
        1, ":produces a coin from a passerby's ear.\n",
        1, ":stretches his fingers.\n",
      }));
load_a_chat(90, ({
        3, "'I will blast you with a lighting bolt.\n",
        3, "'I will fireball you!\n",
        3, "'please don't! mercy!\n",
        3, ":tries to flee away, but you hold him down.\n",
      }));
}

Site Stats

Snippets: 1791
Codebases: 571