From d9f63e6f7747f982aa9e57b3db30f6f523d1f7b8 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 10 Jan 2021 01:22:27 +0000 Subject: [PATCH] Corrections to match proper ImmobileDamageResist effect logic. --- .../gameserver/model/actor/Creature.java | 2 +- .../gameserver/model/actor/Creature.java | 2 +- .../gameserver/model/actor/Creature.java | 2 +- .../gameserver/model/actor/Creature.java | 2 +- .../gameserver/model/actor/Creature.java | 2 +- .../gameserver/model/actor/Creature.java | 2 +- .../gameserver/model/actor/Creature.java | 2 +- .../gameserver/model/actor/Creature.java | 2 +- .../game/data/stats/skills/11400-11499.xml | 40 +++++++++---------- .../game/data/stats/skills/19200-19299.xml | 4 +- .../game/data/stats/skills/35100-35199.xml | 6 +-- .../game/data/stats/skills/35500-35599.xml | 10 ++--- .../game/data/stats/skills/35600-35699.xml | 30 +++++++------- .../gameserver/model/actor/Creature.java | 2 +- .../gameserver/model/actor/Creature.java | 2 +- .../game/data/stats/skills/55700-55799.xml | 28 ++++++------- .../gameserver/model/actor/Creature.java | 2 +- .../game/data/stats/skills/55700-55799.xml | 28 ++++++------- .../gameserver/model/actor/Creature.java | 2 +- .../game/data/stats/skills/55700-55799.xml | 28 ++++++------- .../gameserver/model/actor/Creature.java | 2 +- .../game/data/stats/skills/55700-55799.xml | 28 ++++++------- .../gameserver/model/actor/Creature.java | 2 +- .../game/data/stats/skills/55700-55799.xml | 28 ++++++------- .../gameserver/model/actor/Creature.java | 2 +- .../gameserver/model/actor/Creature.java | 2 +- .../game/data/stats/skills/55700-55799.xml | 28 ++++++------- .../gameserver/model/actor/Creature.java | 2 +- 28 files changed, 146 insertions(+), 146 deletions(-) diff --git a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Creature.java index 7714c3da5d..0cf37f5c04 100644 --- a/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_1.0_Ertheia/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4415,7 +4415,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Creature.java index 7714c3da5d..0cf37f5c04 100644 --- a/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_2.5_Underground/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4415,7 +4415,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Creature.java index e1f7e442d0..a102dd449b 100644 --- a/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_3.0_Helios/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4415,7 +4415,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Creature.java index e1f7e442d0..a102dd449b 100644 --- a/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_4.0_GrandCrusade/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4415,7 +4415,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Creature.java index d88e0b2ffa..6b3388d4e1 100644 --- a/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_5.0_Salvation/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4415,7 +4415,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Creature.java index d88e0b2ffa..6b3388d4e1 100644 --- a/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_5.5_EtinasFate/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4415,7 +4415,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Creature.java index d88e0b2ffa..6b3388d4e1 100644 --- a/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_6.0_Fafurion/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4415,7 +4415,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Creature.java index ff3316d508..4f916e55e7 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4414,7 +4414,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/11400-11499.xml b/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/11400-11499.xml index aaf7331c3d..40c98b53f6 100644 --- a/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/11400-11499.xml +++ b/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/11400-11499.xml @@ -244,26 +244,26 @@ - 1 - 1 - 1 - 2 - 2 - 3 - 3 - 4 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 + -1 + -1 + -1 + -2 + -2 + -3 + -3 + -4 + -4 + -5 + -6 + -7 + -8 + -9 + -10 + -11 + -12 + -13 + -14 + -15 PER diff --git a/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/19200-19299.xml b/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/19200-19299.xml index d772c4e696..bb9470f452 100644 --- a/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/19200-19299.xml +++ b/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/19200-19299.xml @@ -1623,8 +1623,8 @@ - 7 - 15 + -7 + -15 PER diff --git a/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/35100-35199.xml b/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/35100-35199.xml index e8ee2947a6..9ac506dfc0 100644 --- a/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/35100-35199.xml +++ b/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/35100-35199.xml @@ -568,9 +568,9 @@ - 3 - 3 - 5 + -3 + -3 + -5 PER diff --git a/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/35500-35599.xml b/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/35500-35599.xml index 611a145701..27dcd41c19 100644 --- a/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/35500-35599.xml +++ b/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/35500-35599.xml @@ -1258,7 +1258,7 @@ PER - 3 + -3 PER @@ -2403,10 +2403,10 @@ - 1 - 2 - 3 - 5 + -1 + -2 + -3 + -5 PER diff --git a/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/35600-35699.xml b/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/35600-35699.xml index 3e0a7b7ea3..66e882770a 100644 --- a/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/35600-35699.xml +++ b/L2J_Mobius_8.0_Homunculus/dist/game/data/stats/skills/35600-35699.xml @@ -155,7 +155,7 @@ P - 20 + -20 PER @@ -1499,9 +1499,9 @@ 0 0 0 - 2 - 3 - 5 + -2 + -3 + -5 PER @@ -1711,17 +1711,17 @@ - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 + -5 + -6 + -7 + -8 + -9 + -10 + -11 + -12 + -13 + -14 + -15 PER diff --git a/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/model/actor/Creature.java index ff3316d508..4f916e55e7 100644 --- a/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4414,7 +4414,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Creature.java index 5fabf7d634..87e36471eb 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4405,7 +4405,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/stats/skills/55700-55799.xml b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/stats/skills/55700-55799.xml index 995cecedd3..f920788f65 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/stats/skills/55700-55799.xml +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/stats/skills/55700-55799.xml @@ -1343,20 +1343,20 @@ 0 0 0 - 5 - 7 - 9 - 11 - 13 - 15 - 17 - 18 - 20 - 22 - 24 - 26 - 28 - 30 + -5 + -7 + -9 + -11 + -13 + -15 + -17 + -18 + -20 + -22 + -24 + -26 + -28 + -30 diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Creature.java index 5fabf7d634..87e36471eb 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4405,7 +4405,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/skills/55700-55799.xml b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/skills/55700-55799.xml index ef019547c7..3adb6381cf 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/skills/55700-55799.xml +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/stats/skills/55700-55799.xml @@ -1367,20 +1367,20 @@ 0 0 0 - 5 - 7 - 9 - 11 - 13 - 15 - 17 - 18 - 20 - 22 - 24 - 26 - 28 - 30 + -5 + -7 + -9 + -11 + -13 + -15 + -17 + -18 + -20 + -22 + -24 + -26 + -28 + -30 diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Creature.java index 48611264dc..64f2bf87d7 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4405,7 +4405,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/stats/skills/55700-55799.xml b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/stats/skills/55700-55799.xml index fa0ea307a0..6e1f5c6eca 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/stats/skills/55700-55799.xml +++ b/L2J_Mobius_Classic_2.3_SevenSigns/dist/game/data/stats/skills/55700-55799.xml @@ -1367,20 +1367,20 @@ 0 0 0 - 5 - 7 - 9 - 11 - 13 - 15 - 17 - 18 - 20 - 22 - 24 - 26 - 28 - 30 + -5 + -7 + -9 + -11 + -13 + -15 + -17 + -18 + -20 + -22 + -24 + -26 + -28 + -30 diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Creature.java index 422990758a..11d3f045d5 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4418,7 +4418,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/stats/skills/55700-55799.xml b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/stats/skills/55700-55799.xml index cc1c4bc0e2..d926f5f40c 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/stats/skills/55700-55799.xml +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/dist/game/data/stats/skills/55700-55799.xml @@ -1367,20 +1367,20 @@ 0 0 0 - 5 - 7 - 9 - 11 - 13 - 15 - 17 - 18 - 20 - 22 - 24 - 26 - 28 - 30 + -5 + -7 + -9 + -11 + -13 + -15 + -17 + -18 + -20 + -22 + -24 + -26 + -28 + -30 diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Creature.java index 422990758a..11d3f045d5 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4418,7 +4418,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/stats/skills/55700-55799.xml b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/stats/skills/55700-55799.xml index cc1c4bc0e2..d926f5f40c 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/stats/skills/55700-55799.xml +++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/stats/skills/55700-55799.xml @@ -1367,20 +1367,20 @@ 0 0 0 - 5 - 7 - 9 - 11 - 13 - 15 - 17 - 18 - 20 - 22 - 24 - 26 - 28 - 30 + -5 + -7 + -9 + -11 + -13 + -15 + -17 + -18 + -20 + -22 + -24 + -26 + -28 + -30 diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Creature.java index 7cc54a625f..f8d0cff7c5 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4417,7 +4417,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java index 5fabf7d634..87e36471eb 100644 --- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4405,7 +4405,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT) diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/skills/55700-55799.xml b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/skills/55700-55799.xml index cc1c4bc0e2..d926f5f40c 100644 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/skills/55700-55799.xml +++ b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/stats/skills/55700-55799.xml @@ -1367,20 +1367,20 @@ 0 0 0 - 5 - 7 - 9 - 11 - 13 - 15 - 17 - 18 - 20 - 22 - 24 - 26 - 28 - 30 + -5 + -7 + -9 + -11 + -13 + -15 + -17 + -18 + -20 + -22 + -24 + -26 + -28 + -30 diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/actor/Creature.java b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/actor/Creature.java index 4d04b8fc43..eebc4d05b2 100644 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/actor/Creature.java +++ b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/java/org/l2jmobius/gameserver/model/actor/Creature.java @@ -4427,7 +4427,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe if (target.isImmobilized()) { damage *= _stat.getMul(Stat.IMMOBILE_DAMAGE_BONUS, 1); - damage /= target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1); + damage *= Math.max(0.22, target.getStat().getMul(Stat.IMMOBILE_DAMAGE_RESIST, 1)); } if (!reflect && !isDOT)