11 lines
333 B
Plaintext
11 lines
333 B
Plaintext
void main()
|
|
{
|
|
int nDiceRoll2 = d100(1);
|
|
if(nDiceRoll2 == 50)
|
|
{
|
|
object oPC = GetLastAttacker();
|
|
CreateObject(OBJECT_TYPE_ITEM, "HBSword", GetLocation(OBJECT_SELF));
|
|
DelayCommand(0.5, FloatingTextStringOnCreature("The burial sword slips from the Undead Hraski's Deathgrip, and falls to the ground.", oPC));
|
|
}
|
|
}
|