Skip to content

Commit

Permalink
Fixes #80 - Changed Function to DruidCanSwim()
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed Nov 5, 2018
1 parent a6b83b9 commit c3b320e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion BeStride_Logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -436,13 +436,15 @@ function BeStride_Logic:DemonHunter()
elseif self:MovementCheck() and self:DemonHunterFelRush() then
return BeStride_Mount:DemonHunterFelRush()
else
BeStride_Debug:Error("This is a error. Please report to the maintainer at https://www.github.com/dansheps/bestride/issues/. ID: DRBSL")
BeStride_Debug:Error("This is a error. Please report to the maintainer at https://www.github.com/dansheps/bestride/issues/. ID: DHBSL")
end
end

function BeStride_Logic:Druid()
if IsOutdoors() ~= true and self:DruidCanCat() then
return BeStride_Mount:MountSpell(BeStride:SpellToName(768))
elseif IsSwimming() and self:DruidCanSwim() then
return BeStride_Mount:MountSpell(BeStride:SpellToName(783))
elseif self:MovementCheck() and IsOutdoors() then
return BeStride_Mount:MountSpell(BeStride:SpellToName(783))
elseif GetShapeshiftForm() == 3 then
Expand Down

0 comments on commit c3b320e

Please sign in to comment.