Skip to content

Commit

Permalink
Added tag for 25 and 40 yrds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vae2009 committed Dec 31, 2022
1 parent d30e0b9 commit 9787198
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ConRO.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Title:-|cffFFFFFFConRO|r- Conflict Rotation Optimizer
## Notes: Rotation helper framework.
## Version: 10.0.19
## Version: 10.0.20
## Author: Vae
## Interface: 100002
## SavedVariables: ConROPreferences
Expand Down
26 changes: 25 additions & 1 deletion helper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,31 @@ function ConRO:Targets(spellID)

for i = 1, 15 do
if not UnitIsFriend("player", 'nameplate' .. i) then
if UnitExists('nameplate' .. i) and IsItemInRange(37727, "nameplate"..i) == true then
if UnitExists('nameplate' .. i) and IsItemInRange(32321, "nameplate"..i) == true then
number_in_range = number_in_range + 1
end
end
end
elseif spellID == "25" then
if IsItemInRange(24268, "target") then
target_in_range = true;
end

for i = 1, 15 do
if not UnitIsFriend("player", 'nameplate' .. i) then
if UnitExists('nameplate' .. i) and IsItemInRange(24268, "nameplate"..i) == true then
number_in_range = number_in_range + 1
end
end
end
elseif spellID == "40" then
if IsItemInRange(28767, "target") then
target_in_range = true;
end

for i = 1, 15 do
if not UnitIsFriend("player", 'nameplate' .. i) then
if UnitExists('nameplate' .. i) and IsItemInRange(28767, "nameplate"..i) == true then
number_in_range = number_in_range + 1
end
end
Expand Down

0 comments on commit 9787198

Please sign in to comment.