Skip to content

Commit

Permalink
Fixes: #157
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed Oct 4, 2022
1 parent 5b13869 commit 2c51ff9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Versions/Common/mount.lua
Expand Up @@ -223,7 +223,7 @@ function BeStride:PassengerMountButton(type)
end

function BeStride:Combat()
if self:IsDeathKnight() and BeStride:DBGet("settings.classes.deathknight.wraithwalk") then
if self:IsDeathKnight() and BeStride:DBGet("settings.classes.deathknight.wraithwalk") and BeStride:CanWraithWalk() then
return BeStride_Mount:DeathKnightWraithWalk()
elseif self:IsDemonHunter() and self:DemonHunterFelRush() then
return BeStride_Mount:DemonHunterFelRush()
Expand Down
4 changes: 4 additions & 0 deletions Versions/Mainline/logic.lua
Expand Up @@ -38,4 +38,8 @@ function BeStride:GetRidingSkill()
end

return ridingSkillLevel,ridingSpells
end

function BeStride:CanWraithWalk()
return true
end
4 changes: 4 additions & 0 deletions Versions/Wrath/logic.lua
Expand Up @@ -67,3 +67,7 @@ function BeStride:GetRidingSkill()

return ridingSkillLevel,ridingSpells
end

function BeStride:CanWraithWalk()
return false
end

0 comments on commit 2c51ff9

Please sign in to comment.