From 6896180974f4f4c3af8aca87f11dcbb3076ee4f3 Mon Sep 17 00:00:00 2001 From: xban1x <urban.lavbic@gmail.com> Date: Sat, 5 Oct 2013 13:03:17 +0000 Subject: [PATCH] BETA: DP-Part for [L6239]. * Reviewed by: Zoey76, UnAfraid, jurchiks --- .../Q00350_EnhanceYourWeapon/Q00350_EnhanceYourWeapon.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/Q00350_EnhanceYourWeapon.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/Q00350_EnhanceYourWeapon.java index c9cca6e95f..e02c045cbb 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/Q00350_EnhanceYourWeapon.java +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/Q00350_EnhanceYourWeapon.java @@ -32,9 +32,9 @@ import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; import com.l2jserver.Config; +import com.l2jserver.gameserver.model.AbsorberInfo; import com.l2jserver.gameserver.model.L2Object; import com.l2jserver.gameserver.model.actor.L2Attackable; -import com.l2jserver.gameserver.model.actor.L2Attackable.AbsorberInfo; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.items.instance.L2ItemInstance; @@ -427,13 +427,13 @@ public class Q00350_EnhanceYourWeapon extends Quest // Fail if the killer isn't in the _absorbersList of this L2Attackable and mob is not boss AbsorberInfo ai = mob.getAbsorbersList().get(killer.getObjectId()); boolean isSuccess = true; - if ((ai == null) || (ai._objId != killer.getObjectId())) + if ((ai == null) || (ai.getObjectId() != killer.getObjectId())) { isSuccess = false; } // Check if the soul crystal was used when HP of this L2Attackable wasn't higher than half of it - if ((ai != null) && (ai._absorbedHP > (mob.getMaxHp() / 2.0))) + if ((ai != null) && (ai.getAbsorbedHp() > (mob.getMaxHp() / 2.0))) { isSuccess = false; } -- GitLab