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VsyqG8asEQRQ1j)Ac37v6lk9Zw74)538Fc
PHP код:
function(event, timestamp, subEvent, ...)
local COMBATLOG_OBJECT_REACTION_HOSTILE = COMBATLOG_OBJECT_REACTION_HOSTILE
local band = bit.band
if subEvent=="SPELL_SUMMON" then
local _,_,srcFlags,_,_,_,_, spellName = ...
if band(srcFlags,COMBATLOG_OBJECT_REACTION_HOSTILE) ~= 0 and spellName == GetSpellInfo(49206) then
return true
end
end
end