//::////////////////////////////////////////////////// //:: prc_pwondeath.nss /* Catch-all OnDeath event handler for NPCs. Tracks player kills. */ //::////////////////////////////////////////////////// void main() { object oPC = GetLastKiller(); int oKil = GetLocalInt(oPC, "iKilled"); oKil = oKil +1; SetLocalInt(oPC, "iKilled", oKil); }