File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 1
1
## Title :-|c ffFFFFFF ConRO|r - Conflict Rotation Optimizer
2
2
## Notes : Rotation helper framework.
3
- ## Version : 10.0.19
3
+ ## Version : 10.0.20
4
4
## Author : Vae
5
5
## Interface : 100002
6
6
## SavedVariables : ConROPreferences
Original file line number Diff line number Diff line change @@ -342,7 +342,31 @@ function ConRO:Targets(spellID)
342
342
343
343
for i = 1 , 15 do
344
344
if not UnitIsFriend (" player" , ' nameplate' .. i ) then
345
- if UnitExists (' nameplate' .. i ) and IsItemInRange (37727 , " nameplate" .. i ) == true then
345
+ if UnitExists (' nameplate' .. i ) and IsItemInRange (32321 , " nameplate" .. i ) == true then
346
+ number_in_range = number_in_range + 1
347
+ end
348
+ end
349
+ end
350
+ elseif spellID == " 25" then
351
+ if IsItemInRange (24268 , " target" ) then
352
+ target_in_range = true ;
353
+ end
354
+
355
+ for i = 1 , 15 do
356
+ if not UnitIsFriend (" player" , ' nameplate' .. i ) then
357
+ if UnitExists (' nameplate' .. i ) and IsItemInRange (24268 , " nameplate" .. i ) == true then
358
+ number_in_range = number_in_range + 1
359
+ end
360
+ end
361
+ end
362
+ elseif spellID == " 40" then
363
+ if IsItemInRange (28767 , " target" ) then
364
+ target_in_range = true ;
365
+ end
366
+
367
+ for i = 1 , 15 do
368
+ if not UnitIsFriend (" player" , ' nameplate' .. i ) then
369
+ if UnitExists (' nameplate' .. i ) and IsItemInRange (28767 , " nameplate" .. i ) == true then
346
370
number_in_range = number_in_range + 1
347
371
end
348
372
end
You can’t perform that action at this time.
0 commit comments