18 lines
366 B
Plaintext
18 lines
366 B
Plaintext
|
//:://////////////////////////////////////////////////
|
||
|
//:: prc_pwondeath
|
||
|
/*
|
||
|
PRCs OnDeath event handler for NPCs.
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////////
|
||
|
|
||
|
#include "x2_inc_compon"
|
||
|
#include "x0_i0_spawncond"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
// Scarface's XP/GP System
|
||
|
ExecuteScript("sf_xp", OBJECT_SELF);
|
||
|
// End
|
||
|
|
||
|
object oKiller = GetLastKiller();
|
||
|
}
|