View Single Post
11/30/16, 07:14 PM   #4
Diesosoon
 
Diesosoon's Avatar
Join Date: Oct 2016
Posts: 15
Lightbulb Ifnot

Originally Posted by cloudor View Post
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
  Reply With Quote