From 6de21277d678eb779a8e4686ff9345e73ec2ec33 Mon Sep 17 00:00:00 2001 From: Gent Semaj Date: Sun, 6 Oct 2024 13:08:35 -0700 Subject: [PATCH] Fix eruption attacks cancelling when no targets are in range --- src/Abilities.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Abilities.cpp b/src/Abilities.cpp index 2e4f44d..2d90a43 100644 --- a/src/Abilities.cpp +++ b/src/Abilities.cpp @@ -368,7 +368,6 @@ void Abilities::useNPCSkill(EntityRef npc, int skillID, std::vector SkillData* skill = &SkillTable[skillID]; std::vector results = handleSkill(skill, 0, src, affected); - if(results.empty()) return; // no effect; no need for confirmation packets // lazy validation since skill results might be different sizes if (!validOutVarPacket(sizeof(sP_FE2CL_NPC_SKILL_HIT), results.size(), MAX_SKILLRESULT_SIZE)) {