32 lines
438 B
Plaintext
32 lines
438 B
Plaintext
|
/* Script generated by
|
||
|
Lilac Soul's NWN Script Generator, v. 1.6
|
||
|
|
||
|
For download info, please visit:
|
||
|
http://www.lilacsoul.revility.com */
|
||
|
|
||
|
//Put this OnDeath
|
||
|
|
||
|
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
ExecuteScript("pwfxp",OBJECT_SELF);
|
||
|
|
||
|
object oPC = GetLastKiller();
|
||
|
|
||
|
while (GetIsObjectValid(GetMaster(oPC)))
|
||
|
{
|
||
|
oPC=GetMaster(oPC);
|
||
|
}
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (d100()>50)
|
||
|
return;
|
||
|
|
||
|
CreateItemOnObject("bloodofberserk", OBJECT_SELF);
|
||
|
|
||
|
}
|
||
|
|