2022-10-07 14:20:31 -04:00
|
|
|
#include "NW_I0_GENERIC"
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
|
|
|
|
object oKiller = GetLastKiller();
|
|
|
|
int noleech = 0;
|
|
|
|
int nClass = GetLevelByClass(CLASS_TYPE_COMMONER);
|
|
|
|
int nAlign = GetAlignmentGoodEvil(oKiller);
|
|
|
|
if((nAlign == ALIGNMENT_GOOD || nAlign == ALIGNMENT_NEUTRAL))
|
|
|
|
{
|
|
|
|
AdjustAlignment(oKiller, ALIGNMENT_EVIL, 5);
|
|
|
|
}
|
2024-03-13 21:52:56 -04:00
|
|
|
//ExecuteScript("sf_xp", OBJECT_SELF);
|
|
|
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
|
|
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
2022-10-07 14:20:31 -04:00
|
|
|
}
|
|
|
|
|