Only deduct energy when elemental burst actually fires (#2424)

This commit is contained in:
longfruit
2023-11-05 11:57:17 -08:00
committed by GitHub
Unverified
parent d461ee2eb3
commit d224178a64
5 changed files with 91 additions and 5 deletions
@@ -21,7 +21,6 @@ public class HandlerEvtDoSkillSuccNotify extends PacketHandler {
// Handle skill notify in other managers.
player.getStaminaManager().handleEvtDoSkillSuccNotify(session, skillId, casterId);
player.getEnergyManager().handleEvtDoSkillSuccNotify(session, skillId, casterId);
player.getQuestManager().queueEvent(QuestContent.QUEST_CONTENT_SKILL, skillId);
}
}