Files
PWE_PRC8/_module/nss/20xp.nss

23 lines
474 B
Plaintext
Raw Normal View History

2025-04-03 10:29:41 -04:00
#include "nw_i0_tool"
//Put this OnDeath
void main()
{
ExecuteScript("prc_npc_death", OBJECT_SELF);
ExecuteScript("prc_pwondeath", OBJECT_SELF);
object oKiller = GetLastKiller();
if (!GetIsObjectValid(oKiller)) return;
object oPC;
if (GetIsPC(oKiller))
oPC = oKiller;
else
oPC = GetMaster(oKiller);
if (!GetIsPC(oPC)) return;
2025-04-03 10:29:41 -04:00
RewardPartyGP(100, oPC, TRUE);
RewardPartyGP(1000, oPC, FALSE);
//RewardPartyXP(1000, oPC, FALSE);
2025-04-03 10:29:41 -04:00
}