Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i=1,20 do
- if UnitExists('raid' .. i) then
- local wname, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _ = UnitDebuff('raid' .. i, "Wrought Chaos")
- local fname, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _ = UnitDebuff('raid' .. i, "Focused Chaos")
- if wname then
- if UnitGUID ('player') == UnitGUID('raid' .. i) then
- GNB_PBEAMPOS = wbeampos;
- GNB_PBEAMDIR = getRelativePos(wbeampos);
- end
- wbeampos = wbeampos + 1
- elseif fname then
- if UnitGUID ('player') == UnitGUID('raid' .. i) then
- GNB_PBEAMPOS = fbeampos;
- GNB_PBEAMDIR = getRelativePos(fbeampos);
- end
- fbeampos = fbeampos + 1
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement