Originally Posted by cloudor
Thanks for your reply, but I didn't figur out any solutions after read this.
|
I was talking about this:
Code:
if (not isDamage and not isHeal) or abilityId == 41467 or abilityId == 57466 or abilityId == 57468 or hitValue < 2 then return end
local isCrit = result==ACTION_RESULT_CRITICAL_DAMAGE or result==ACTION_RESULT_CRITICAL_HEAL or result==ACTION_RESULT_DOT_TICK_CRITICAL or result==ACTION_RESULT_HOT_TICK_CRITICAL
local hit = {
["sourceId"] = sourceUnitId,
["targetId"] = targetUnitId,
["hitValue"] = hitValue,
["abilityId"] = abilityId,
["crit"] = isCrit,
["heal"] = isHeal,
["timeMs"] = GetGameTimeMilliseconds()
Potential ifnotthan statement that could possible be included to correct the problem