generated from Jaysyn/ModuleTemplate
2025/09/15 Update
Updated XP system to use PWFXP.
This commit is contained in:
@@ -6,17 +6,29 @@ For download info, please visit:
|
||||
http://www.angelfire.com/space/lilacsoul */
|
||||
void main()
|
||||
{
|
||||
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
||||
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
||||
|
||||
object oPC = GetLastKiller();
|
||||
object oKiller = GetLastKiller();
|
||||
if (!GetIsObjectValid(oKiller)) return;
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
RewardPartyXP(6000, oPC, FALSE);
|
||||
object oPC;
|
||||
if (GetIsPC(oKiller))
|
||||
oPC = oKiller;
|
||||
else
|
||||
oPC = GetMaster(oKiller);
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
|
||||
//RewardPartyXP(6000, oPC, FALSE);
|
||||
|
||||
RewardPartyGP(3000, oPC, FALSE);
|
||||
|
||||
RewardPartyXP(1500, oPC, TRUE);
|
||||
//RewardPartyXP(1500, oPC, TRUE);
|
||||
|
||||
RewardPartyGP(750, oPC, TRUE);
|
||||
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
oTarget = oPC;
|
||||
|
Reference in New Issue
Block a user