25 lines
398 B
Plaintext
25 lines
398 B
Plaintext
#include "nw_i0_tool"
|
|
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 2.1
|
|
|
|
For download info, please visit:
|
|
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
|
|
|
//Put this OnDeath
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetLastKiller();
|
|
|
|
while (GetIsObjectValid(GetMaster(oPC)))
|
|
{
|
|
oPC=GetMaster(oPC);
|
|
}
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
RewardPartyGP(40, oPC, FALSE);
|
|
|
|
}
|
|
|