From 6b0af146d0d208486e6ff0bca15d5eefee89cb1e Mon Sep 17 00:00:00 2001 From: DarkGod <darkgod@net-core.org> Date: Sun, 20 Sep 2020 02:01:25 +0200 Subject: [PATCH] Blacfire Aegis damage nwo checks the highest of mind or spell power --- game/modules/tome/data/damage_types.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/modules/tome/data/damage_types.lua b/game/modules/tome/data/damage_types.lua index ea6746697a..00dedf639f 100644 --- a/game/modules/tome/data/damage_types.lua +++ b/game/modules/tome/data/damage_types.lua @@ -1216,7 +1216,7 @@ newDamageType{ dam = dam - init_dam target:setEffect(target.EFF_BURNING, dur, {src=src, power=dam / dur, no_ct_effect=true}) if rng.percent(chance) then - DamageType:get(DamageType.FLAMESHOCK).projector(src, x, y, DamageType.FLAMESHOCK, {dur=3, dam=15, apply_power=src:combatMindpower()}, state) + DamageType:get(DamageType.FLAMESHOCK).projector(src, x, y, DamageType.FLAMESHOCK, {dur=3, dam=15, apply_power=math.max(src:combatMindpower(), src:combatSpellpower())}, state) end end return init_dam -- GitLab