From 338a41e78aed45ec8692f1585163696d4eefd1cb Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Tue, 8 Jun 2021 22:37:36 +0000 Subject: [PATCH] Fixed homunculus reset points window. Contributed by nasseka. --- .../clientpackets/homunculus/RequestExHomunculusInitPoint.java | 3 +++ .../clientpackets/homunculus/RequestExHomunculusInitPoint.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/network/clientpackets/homunculus/RequestExHomunculusInitPoint.java b/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/network/clientpackets/homunculus/RequestExHomunculusInitPoint.java index f443d6eab6..22cd312564 100644 --- a/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/network/clientpackets/homunculus/RequestExHomunculusInitPoint.java +++ b/L2J_Mobius_8.0_Homunculus/java/org/l2jmobius/gameserver/network/clientpackets/homunculus/RequestExHomunculusInitPoint.java @@ -22,6 +22,7 @@ import org.l2jmobius.gameserver.model.variables.PlayerVariables; import org.l2jmobius.gameserver.network.GameClient; import org.l2jmobius.gameserver.network.clientpackets.IClientIncomingPacket; import org.l2jmobius.gameserver.network.serverpackets.homunculus.ExHomunculusInitPointResult; +import org.l2jmobius.gameserver.network.serverpackets.homunculus.ExHomunculusPointInfo; /** * @author Mobius @@ -63,6 +64,7 @@ public class RequestExHomunculusInitPoint implements IClientIncomingPacket player.getVariables().set(PlayerVariables.HOMUNCULUS_USED_KILL_CONVERT, 0); player.getVariables().set(PlayerVariables.HOMUNCULUS_USED_RESET_KILLS, usedResetKills + 1); player.sendPacket(new ExHomunculusInitPointResult(true, _type)); + player.sendPacket(new ExHomunculusPointInfo(player)); } } else @@ -80,6 +82,7 @@ public class RequestExHomunculusInitPoint implements IClientIncomingPacket player.getVariables().set(PlayerVariables.HOMUNCULUS_USED_VP_CONVERT, 0); player.getVariables().set(PlayerVariables.HOMUNCULUS_USED_RESET_VP, usedResetVp + 1); player.sendPacket(new ExHomunculusInitPointResult(true, _type)); + player.sendPacket(new ExHomunculusPointInfo(player)); } } } diff --git a/L2J_Mobius_9.0_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/network/clientpackets/homunculus/RequestExHomunculusInitPoint.java b/L2J_Mobius_9.0_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/network/clientpackets/homunculus/RequestExHomunculusInitPoint.java index f443d6eab6..22cd312564 100644 --- a/L2J_Mobius_9.0_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/network/clientpackets/homunculus/RequestExHomunculusInitPoint.java +++ b/L2J_Mobius_9.0_ReturnOfTheQueenAnt/java/org/l2jmobius/gameserver/network/clientpackets/homunculus/RequestExHomunculusInitPoint.java @@ -22,6 +22,7 @@ import org.l2jmobius.gameserver.model.variables.PlayerVariables; import org.l2jmobius.gameserver.network.GameClient; import org.l2jmobius.gameserver.network.clientpackets.IClientIncomingPacket; import org.l2jmobius.gameserver.network.serverpackets.homunculus.ExHomunculusInitPointResult; +import org.l2jmobius.gameserver.network.serverpackets.homunculus.ExHomunculusPointInfo; /** * @author Mobius @@ -63,6 +64,7 @@ public class RequestExHomunculusInitPoint implements IClientIncomingPacket player.getVariables().set(PlayerVariables.HOMUNCULUS_USED_KILL_CONVERT, 0); player.getVariables().set(PlayerVariables.HOMUNCULUS_USED_RESET_KILLS, usedResetKills + 1); player.sendPacket(new ExHomunculusInitPointResult(true, _type)); + player.sendPacket(new ExHomunculusPointInfo(player)); } } else @@ -80,6 +82,7 @@ public class RequestExHomunculusInitPoint implements IClientIncomingPacket player.getVariables().set(PlayerVariables.HOMUNCULUS_USED_VP_CONVERT, 0); player.getVariables().set(PlayerVariables.HOMUNCULUS_USED_RESET_VP, usedResetVp + 1); player.sendPacket(new ExHomunculusInitPointResult(true, _type)); + player.sendPacket(new ExHomunculusPointInfo(player)); } } }