diff --git a/src/engine/wpakpowers/WpakPowerManager.java b/src/engine/wpakpowers/WpakPowerManager.java index aa181945..1934ec50 100644 --- a/src/engine/wpakpowers/WpakPowerManager.java +++ b/src/engine/wpakpowers/WpakPowerManager.java @@ -480,6 +480,13 @@ public class WpakPowerManager { damage = ThreadLocalRandom.current().nextInt((int) min, (int) (max) + 1); } + //apply power damage modifier values + for(AppliedEffect appliedEffect: caster._effects.values()){ + if(appliedEffect.modifiers.containsKey(mbEnums.ModType.PowerDamageModifier)){ + damage *= 1 + (float)appliedEffect.modifiers.get(mbEnums.ModType.PowerDamageModifier); + } + } + if(AbstractCharacter.IsAbstractCharacter(target)) { AbstractCharacter absChar = (AbstractCharacter)target; damage = (int) absChar.resists.getResistedDamage(caster,absChar,damageType,damage,rank);