Skip to content

Commit 0115705

Browse files
committed
Dragon riding fix
1 parent 6d2dc51 commit 0115705

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ConRO.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Title:-|cffFFFFFFConRO|r- Conflict Rotation Optimizer
22
## Notes: Rotation helper framework.
3-
## Version: 10.0.17
3+
## Version: 10.0.18
44
## Author: Vae
55
## Interface: 100002
66
## SavedVariables: ConROPreferences

buttons.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2870,7 +2870,7 @@ function ConRO:GlowSpell(spellID)
28702870
end
28712871
self.SpellsGlowing[spellID] = 1;
28722872
else
2873-
if UnitAffectingCombat('player') and not _IsSwapSpell and not ConRO:Dragonriding() then
2873+
if UnitAffectingCombat('player') and not _IsSwapSpell then
28742874
if spellName ~= nil then
28752875
self:Print(self.Colors.Error .. 'Spell not found on action bars: ' .. ' ' .. spellName .. ' ' .. '(' .. spellID .. ')');
28762876
else
@@ -2893,7 +2893,7 @@ function ConRO:GlowDef(spellID)
28932893
end
28942894
self.DefGlowing[spellID] = 1;
28952895
else
2896-
if UnitAffectingCombat('player') and not _IsSwapSpell and not ConRO:Dragonriding() then
2896+
if UnitAffectingCombat('player') and not _IsSwapSpell then
28972897
if spellName ~= nil then
28982898
self:Print(self.Colors.Error .. 'Spell not found on action bars: ' .. ' ' .. spellName .. ' ' .. '(' .. spellID .. ')');
28992899
else

core.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2331,7 +2331,7 @@ end
23312331

23322332
function ConRO:PLAYER_ENTERING_WORLD()
23332333
self:UpdateButtonGlow();
2334-
if not self.rotationEnabled and not UnitHasVehicleUI("player") and not ConRO:Dragonriding() then
2334+
if not self.rotationEnabled and not UnitHasVehicleUI("player") then
23352335
self:Print(self.Colors.Success .. 'Auto enable on login!');
23362336
self:Print(self.Colors.Info .. 'Loading class module');
23372337
self:LoadModule();
@@ -2348,7 +2348,7 @@ end
23482348

23492349
function ConRO:LOADING_SCREEN_DISABLED()
23502350
self:UpdateButtonGlow();
2351-
if not self.rotationEnabled and not UnitHasVehicleUI("player") and not ConRO:Dragonriding() then
2351+
if not self.rotationEnabled and not UnitHasVehicleUI("player") then
23522352
self:Print(self.Colors.Success .. 'Auto enable on login!');
23532353
self:Print(self.Colors.Info .. 'Loading class module');
23542354
self:LoadModule();
@@ -2393,7 +2393,7 @@ end
23932393

23942394
function ConRO:PLAYER_REGEN_DISABLED()
23952395
self:UpdateButtonGlow();
2396-
if not self.rotationEnabled and not UnitHasVehicleUI("player") and not ConRO:Dragonriding() then
2396+
if not self.rotationEnabled and not UnitHasVehicleUI("player") then
23972397
self:LoadModule();
23982398
self:EnableRotation();
23992399
self:EnableDefense();

0 commit comments

Comments
 (0)