PWE_PRC8/_module/nss/350ondeathtopart.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

27 lines
408 B
Plaintext

#include "nw_i0_tool"
/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.5
For download info, please visit:
http://www.lilacsoul.revility.com */
//Put this OnDeath
void main()
{
object oPC = GetLastKiller();
while (GetIsObjectValid(GetMaster(oPC)))
{
oPC=GetMaster(oPC);
}
if (!GetIsPC(oPC)) return;
if (!(GetHitDice(oPC) >= 20))
return;
RewardPartyXP(350, oPC, TRUE);
}