/* Filename : wizard.c * Description : a monsie that casts spells * * written : 03-10-1996 - Gunner * last modified : 27-05-1998 - Gunner * HTML-Version : 02-02-2000 - Ghorwin */ #include <mudlib.h> inherit I_MONSTER; #define CMD_PATH "/doc/crashcourse/course06/com/" create() { ::create(); set_name("wizzie"); add_id(({"powerful wizard","wizard"})); set_short("A wizard"); set_long("A powerful wizard with many spells to cast. He's called " "Wizzie.\n"); set_level(20); set_hp(500); set_sp(1000); add_cmdpath(CMD_PATH); load_chat(20,({"Wizzie says: 'Wanna fight?'\n", "Wizzie says: 'Come on. Let's fight!'\n"})); load_a_chat(20,({ "!meteor", // In your face, pal! "!hello", // A friendly greeting "!icicle", // Icy, icy. "!cast fireball at", // FIRE IN THE HOLE! "!cast snowball at", // Snow? Bah... "!cast lightning bolt at", // Lightning strikes! "!cast electric storm at"})); // Elewhat? replace_program(I_MONSTER); }