Initial upload
Initial upload
This commit is contained in:
29
_module/nss/owlbeardmged.nss
Normal file
29
_module/nss/owlbeardmged.nss
Normal file
@@ -0,0 +1,29 @@
|
||||
//Created by Guile 3/27/07
|
||||
//Can go OnDamaged, OnDisturbed, OnSpellCastAt, creature heartbeats, etc.
|
||||
|
||||
#include "nw_i0_tool"
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastHostileActor();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
if (GetHitDice(oPC) > 8)
|
||||
return;
|
||||
|
||||
RewardPartyXP(10, oPC, FALSE);
|
||||
|
||||
RewardPartyGP(10, oPC, FALSE);
|
||||
|
||||
if (d100()>=80)
|
||||
{
|
||||
ActionSpeakString("OOOWWW");
|
||||
|
||||
}
|
||||
else if (d100()<=40)
|
||||
{
|
||||
ActionSpeakString("AAARRRGGHHH!!!");
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user