/*   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()>10)
   return;

CreateItemOnObject("anoyfolring", OBJECT_SELF);

}