2025/09/15 Update

Updated XP system to use PWFXP.
This commit is contained in:
Jaysyn904
2025-09-16 07:32:56 -04:00
parent c4b53f62ba
commit 43c4564112
247 changed files with 7274 additions and 708 deletions

View File

@@ -8,16 +8,25 @@ http://www.angelfire.com/space/lilacsoul */
//Put this OnDeath
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;
object oPC;
if (GetIsPC(oKiller))
oPC = oKiller;
else
oPC = GetMaster(oKiller);
RewardPartyXP(50300, oPC, FALSE);
if (!GetIsPC(oPC)) return;
//RewardPartyXP(50300, oPC, FALSE);
RewardPartyGP(5030, oPC, FALSE);
RewardPartyXP(5030, oPC, TRUE);
//RewardPartyXP(5030, oPC, TRUE);
RewardPartyGP(503, oPC, TRUE);
}