From af3477354a50f1d24570f5dba6d58cda95501844 Mon Sep 17 00:00:00 2001 From: andrew6180 <16847730+andrew6180@users.noreply.github.com> Date: Wed, 10 Jul 2024 15:45:58 -0700 Subject: [PATCH] fix swing damage spell type --- core/parser.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/parser.lua b/core/parser.lua index 3f1414c2..374627e5 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -457,8 +457,8 @@ --melee if (token == "SWING_DAMAGE") then - -- school or 00000001 because pets can have different melee damage types. - spellId, spellName, spellType, amount, overkill, school, resisted, blocked, absorbed, critical, glacing, crushing, isoffhand = 1, meleeString, school or 00000001, spellId, spellName, spellType, amount, overkill, school, resisted, blocked, absorbed, critical + -- spellType or 00000001 because pets can have different melee damage types. + spellId, spellName, spellType, amount, overkill, school, resisted, blocked, absorbed, critical, glacing, crushing, isoffhand = 1, meleeString, spellType or 00000001, spellId, spellName, spellType, amount, overkill, school, resisted, blocked, absorbed, critical end if (not targetName) then