SHARK.C
LIB3/D/HOME/CITY/MONSTERS/SHARK.C · 2.2 KB
From the archive nm4dos.zip
Download the archive « Back to the archive contents
#include "path.h"
inherit "/obj/monster";
void setup()
{
set_name("Shark");
set_short("Large Shark");
add_alias("shark");
set_main_plural("Sharks");
add_plural("sharks");
set_long("This is just one of the many sharks that infest the water "+
"in this area.\n");
set_level(100);
set_al(-10);
set_aggressive(1);
"/std/weapon.mess"->add_weapon_mess("shark-attack",
({
50,
({
"You graze $hcname$ with your tail.\n",
"$mcname$ grazes you with its tail.\n",
"$mcname$ grazes $hcname$ with its tail.\n"
}),
120,
({
"You deal $hcname$ a glancing blow on the head with your tail.\n",
"$mcname$ deals you a glancing blow to the head.\n",
"$mcname$ deals $hcname$ a glancing blow to the head.\n"
}),
240,
({
"You crush $hcname$ beneath a terrifying swing of your tail.\n",
"$mcname$ crushes you beneath its tail.\n",
"$mcname$ crushes $hcname$ beneath its tail.\n"
}),
0,
({
"You whip your tail into $hcname$ cutting $hcname$'s flesh in "+
"several places.\n",
"$mcname$ whips its tail into you cutting your flesh in several "+
"places.\n",
"$mcname$ whips its tail into $hname$ cutting $hcname$'s flesh "+
"in several places.\n"
})
})
);
"/std/weapon.mess"->add_weapon_mess("shark-2",
({
50,
({
"You nip $hcname$.\n",
"$mcname$ nips you.\n",
"$mcname$ nips $hcname$.\n"
}),
120,
({
"You bite a small lump off $hcname$'s leg.\n",
"$mcname$ bites a lump from your leg.\n",
"$mcname$ bites a lump from $hcname$'s leg.\n"
}),
240,
({
"You sink your teeth into $hcname$.\n",
"$mcname$ sinks its teeth into you.\n",
"$mcname$ sinks its teeth into $hcname$.\n"
}),
0,
({
"You use your teeth to tear a limb from $hcname$'s body.\n",
"$mcname$ uses its teeth to tear a limb from your body.\n",
"$mcname$ uses its teeth to tear a limb from $hcname$'s body.\n"
})
})
);
add_attack("1sthit",0,70,({20,5,10}),60,({10,3,50}),"sharp-bite");
add_attack("2ndhit",0,50,({20,5,20}),50,({10,6,50}),"shark-attack");
add_attack("3rdhit",0,20,({20,5,30}),40,({10,9,50}),"shark-2");
}