FIREEATE.C
LIB3/D/HOME/CITY/MONSTERS/FIREEATE.C · 1.6 KB
From the archive nm4dos.zip
Download the archive « Back to the archive contents
/* Coded by Worzel ..using newstyles code for special attacks*/
inherit "/obj/monster";
setup()
{
set_level(20+random(10));
add_skill_level("combat.offence.unarmed",50);
add_skill_level("combat.stamina",20+random(10));
set_name("fire-eater");
set_short("Fire-eater");
add_adjective("large");
set_long("This is a rather large circus performer. His act is to eat and "+
"breathe fire. You watch in amazement as he breathes out a 10ft stream "+
"of flames.\n");
set_race("human");
set_class("fighter");
set_al(25);
set_gender(1);
set_aggressive(0);
"/std/weapon.mess"->add_weapon_mess("flame",
({
10,
({ "You breathe fire and heat things up for $hname$.\n",
"$mcname$ starts to heat things up for you as he breathes flames.\n",
"$mcname$ breathes flames close $hname$.\n"
}),
40,
({ "You singe $hname$ with your flames.\n",
"$mcname$ singes you.\n",
"$mcname$ cooks $hname$ a little.\n"
}),
60,
({ "You roast $hname$ with your breathe.\n",
"$mcname$ roasts you.\n",
"$mcname$ roasts $hname$.\n"
}),
80,
({ "You charcol-grill $hname$ all over.\n",
"$mcname$ grills you to a crisp.\n",
"$mcname$ charcol-grills $hname$ all over.\n"
}),
0,
({ "You incinerate $hname$ with a raging inferno.\n",
"$mcname$ incinerates you with a raging inferno.\n",
"$mcnames$ incinerates $hname$ with a raging inferno of fire.\n"
})
})
);
add_attack( "fire_attack", 0, 50,
({20, 2, 30}), 50, 10, "flame");
load_a_chat(20, ({
1, ":lights his breathe.\n",
1, "'Your toast, little man..\n",
1, ":spits out some fire.\n",
}));
}