Added Corrected Char Sheet XP script by -=HA=-. Updated a few NPC onDeath scripts to use point at the correct XP scripts. Full compile. Updated release archive.
16 lines
493 B
Plaintext
16 lines
493 B
Plaintext
#include "NW_I0_GENERIC"
|
|
void main()
|
|
{
|
|
|
|
object oKiller = GetLastKiller();
|
|
int noleech = 0;
|
|
int nClass = GetLevelByClass(CLASS_TYPE_COMMONER);
|
|
int nAlign = GetAlignmentGoodEvil(OBJECT_SELF);
|
|
if(nClass > 0 && (nAlign == ALIGNMENT_GOOD || nAlign == ALIGNMENT_NEUTRAL))
|
|
{
|
|
AdjustAlignment(oKiller, ALIGNMENT_EVIL, 5);
|
|
}
|
|
//ExecuteScript("sf_xp", OBJECT_SELF);
|
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
|
ExecuteScript("prc_pwondeath", OBJECT_SELF);
|
|
} |