너만보임
근웹에서 sc__ript 쓰면 중간에 __들어가는거로 필터링되니까 그거 고쳐서 쓰셈
local alert=CreateFrame("Frame")
alert:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
alert:Setsc__ript("OnEvent", function(...)
local _,combatEvent,hideCaster,sourceGUID,sourceName,sourceFlags,sourceRaidFlags,destGUID,destName,destFlags, destRaidFlags,spellID,spellName,_,param1,_,_,param4 = CombatLogGetCurrentEventInfo()
if sourceGUID == UnitGUID("player") and combatEvent=="SPELL_INTERRUPT" then
print("\124cffff0000차단\124r : "..destName.."의 "..GetSpellLink(param1)) -- 차단
elseif sourceGUID == UnitGUID("player") and combatEvent=="SPELL_DISPEL" and (bit.band(destFlags,COMBATLOG_OBJECT_REACTION_FRIENDLY)==COMBATLOG_OBJECT_REACTION_FRIENDLY) then
print("\124cff00ff00해제\124r : "..destName.."의 "..GetSpellLink(param1)) -- 해제(아군)
elseif sourceGUID == UnitGUID("player") and combatEvent=="SPELL_DISPEL" and (bit.band(destFlags,COMBATLOG_OBJECT_REACTION_HOSTILE)==COMBATLOG_OBJECT_REACTION_HOSTILE) then
print("\124cffff0000해제\124r : "..destName.."의 "..GetSpellLink(param1)) -- 해제(적)
elseif sourceGUID == UnitGUID("player") and combatEvent=="SPELL_STOLEN" then
print("\124cffff0000훔치기\124r : "..destName.."의 "..GetSpellLink(param1)) -- 훔치기
elseif destGUID == UnitGUID("player") and combatEvent=="SPELL_MISSED" and param1=="REFLECT" then
print("\124cffff0000반사\124r : "..sourceName.."의 "..GetSpellLink(spellID)) -- 반사
end
end)
(IP보기클릭)175.223.***.***
(IP보기클릭)221.164.***.***
(IP보기클릭)221.167.***.***