Compare commits

..

1 Commits

Author SHA1 Message Date
Gent Semaj
02cc58dfb0
Merge 9b7656117d into b12aecad63 2023-07-20 21:53:40 +00:00

View File

@ -274,8 +274,6 @@ void Abilities::useNPCSkill(EntityRef npc, int skillID, std::vector<ICombatant*>
SkillData* skill = &SkillTable[skillID];
std::vector<SkillResult> results = handleSkill(skill, 0, src, affected);
if(results.empty()) return; // no effect; no need for confirmation packets
size_t resultSize = results.back().size; // guaranteed to be the same for every item
if (!validOutVarPacket(sizeof(sP_FE2CL_NPC_SKILL_HIT), results.size(), resultSize)) {