From 79a395ee3d3e7e810d7f58fc7e0066f7d3af1e84 Mon Sep 17 00:00:00 2001 From: Zoey76 <zoey_76@msn.com> Date: Tue, 4 Feb 2014 22:51:04 +0000 Subject: [PATCH] BETA: `ChameleonRest` effect fix. Patch by: Sdw Reviewed by: Zoey76 --- .../data/scripts/handlers/effecthandlers/ChameleonRest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/ChameleonRest.java b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/ChameleonRest.java index 666cb73681..f5724d0a03 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/ChameleonRest.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/effecthandlers/ChameleonRest.java @@ -65,7 +65,7 @@ public final class ChameleonRest extends AbstractEffect } } - double manaDam = getValue(); + double manaDam = getValue() * getTicksMultiplier(); if (manaDam > info.getEffected().getCurrentMp()) { info.getEffected().sendPacket(SystemMessageId.SKILL_REMOVED_DUE_LACK_MP); @@ -73,7 +73,7 @@ public final class ChameleonRest extends AbstractEffect } info.getEffected().reduceCurrentMp(manaDam); - return false; + return info.getSkill().isToggle(); } @Override -- GitLab