diff --git a/nwn/nwnprc/trunk/scripts/prc_sleat_edrain.nss b/nwn/nwnprc/trunk/scripts/prc_sleat_edrain.nss index 2c12c804..83446201 100644 --- a/nwn/nwnprc/trunk/scripts/prc_sleat_edrain.nss +++ b/nwn/nwnprc/trunk/scripts/prc_sleat_edrain.nss @@ -45,7 +45,6 @@ #include "prc_inc_shifting" #include "prc_spell_const" - ////////////////////////////////////////////////// /* Function prototypes */ ////////////////////////////////////////////////// @@ -300,7 +299,8 @@ void DoDeathDependent(object oEater, object oTarget, string sResRef, string sNam SetMaxHenchmen(PRCMax(nMaxHenchmen, i)); AddHenchman(oEater, oSlave); SetMaxHenchmen(nMaxHenchmen); - DelayCommand(3.0f, LevelUpWight(GetHitDice(oEater) - 3, oSlave)); + //DelayCommand(3.0f, LevelUpWight(GetHitDice(oEater) - 3, oSlave)); + DelayCommand(3.0f, LevelUpWight(PRCMax(GetHitDice(oTarget), GetLevelByClass(CLASS_TYPE_SOUL_EATER, oEater) - 1), oSlave)); } else if(DEBUG) DoDebug("prc_sleat_edrain: ERROR: Failed to create wight at location " + DebugLocation2Str(lSpawn));