2026/04/29 Morning Update
Tweaked Soul-Drained wight creation
This commit is contained in:
@@ -45,7 +45,6 @@
|
|||||||
#include "prc_inc_shifting"
|
#include "prc_inc_shifting"
|
||||||
#include "prc_spell_const"
|
#include "prc_spell_const"
|
||||||
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////
|
//////////////////////////////////////////////////
|
||||||
/* Function prototypes */
|
/* Function prototypes */
|
||||||
//////////////////////////////////////////////////
|
//////////////////////////////////////////////////
|
||||||
@@ -300,7 +299,8 @@ void DoDeathDependent(object oEater, object oTarget, string sResRef, string sNam
|
|||||||
SetMaxHenchmen(PRCMax(nMaxHenchmen, i));
|
SetMaxHenchmen(PRCMax(nMaxHenchmen, i));
|
||||||
AddHenchman(oEater, oSlave);
|
AddHenchman(oEater, oSlave);
|
||||||
SetMaxHenchmen(nMaxHenchmen);
|
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)
|
else if(DEBUG)
|
||||||
DoDebug("prc_sleat_edrain: ERROR: Failed to create wight at location " + DebugLocation2Str(lSpawn));
|
DoDebug("prc_sleat_edrain: ERROR: Failed to create wight at location " + DebugLocation2Str(lSpawn));
|
||||||
|
|||||||
Reference in New Issue
Block a user