parent
3e2f6d5ff7
commit
ee9db0510b
1 changed files with 1 additions and 5 deletions
|
@ -135,11 +135,7 @@ function MyAddon.amTankInParty()
|
||||||
local isTank = UnitGroupRolesAssigned("player") == "TANK"
|
local isTank = UnitGroupRolesAssigned("player") == "TANK"
|
||||||
local notAlreadyMarked = GetRaidTargetIndex("player") == nil
|
local notAlreadyMarked = GetRaidTargetIndex("player") == nil
|
||||||
|
|
||||||
if (isParty and isTank and notAlreadyMarked) then
|
return isParty and isTank and notAlreadyMarked
|
||||||
return true
|
|
||||||
else
|
|
||||||
return false
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function MyAddon.markSelfSquare()
|
function MyAddon.markSelfSquare()
|
||||||
|
|
Loading…
Reference in a new issue