Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local timestamp, eventType, _, sourceGUID, sourceName, sourceFlags, _, destGUID, destName, _, _, spellId, spellName, spellSchool = CombatLogGetCurrentEventInfo()
- if bit.band(sourceFlags, COMBATLOG_OBJECT_REACTION_HOSTILE) > 0 then
- local sourceType = strsub(sourceGUID, 1,6)
- if sourceType == "Player" then
- if eventType == "SPELL_AURA_APPLIED" and (spellName == "Stealth" or spellName == "Prowl") then
- EquipSet("YOUR GEAR SET NAME HERE")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement