From 7fa1f3d3028ee82859bc8f4504d42d418fe2ad26 Mon Sep 17 00:00:00 2001 From: Jaysyn904 <68194417+Jaysyn904@users.noreply.github.com> Date: Wed, 29 Apr 2026 08:59:10 -0400 Subject: [PATCH] 2026/04/29 Morning Update Tweaked Soul-Drained wight creation --- nwn/nwnprc/trunk/scripts/prc_sleat_edrain.nss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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));