Files
PWE_PRC8/_module/nss/mob_arc_die_xpgp.nss

30 lines
584 B
Plaintext
Raw Normal View History

2025-04-03 10:29:41 -04:00
#include "nw_i0_tool"
/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.3
For download info, please visit:
http://www.lilacsoul.revility.com */
//Put this OnDeath
void main()
{
ExecuteScript("prc_npc_death", OBJECT_SELF);
ExecuteScript("prc_pwondeath", OBJECT_SELF);
2025-04-03 10:29:41 -04:00
object oKiller = GetLastKiller();
if (!GetIsObjectValid(oKiller)) return;
2025-04-03 10:29:41 -04:00
object oPC;
if (GetIsPC(oKiller))
oPC = oKiller;
else
oPC = GetMaster(oKiller);
2025-04-03 10:29:41 -04:00
if (!GetIsPC(oPC)) return;
//RewardPartyXP(100, oPC, FALSE);
2025-04-03 10:29:41 -04:00
RewardPartyGP(250, oPC, FALSE);
}