Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function(a)
- for unit in WA_IterateGroupMembers() do
- if (
- select(3, UnitClass(unit)) == 3
- or select(3, UnitClass(unit)) == 5
- or select(3, UnitClass(unit)) == 7
- or select(3, UnitClass(unit)) == 9
- or select(3, UnitClass(unit)) == 10
- or select(3, UnitClass(unit)) == 11
- )
- and not a[unit]
- then
- a[unit] = {
- show = true,
- changed = true,
- }
- --print("show", UnitName(unit))
- elseif a[unit] then
- a[unit].show = false
- a[unit].changed = true
- end
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement