Skip to content

Commit

Permalink
Reworking Logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Sheppard committed Oct 18, 2018
1 parent acec09d commit 5df103d
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion BeStride_Logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,42 @@ function BeStride_Logic:IsCombat()
end
end

function BeStride_Logic:Regular()
-- Check if we are mounted first

if self:IsDeathKnightAndSpecial() then
return self:DeathKnight()
elseif self:IsDruidAndSpecial() then
return self:Druid()
elseif self:IsMageAndSpecial() then
return self:Mage()
elseif self:IsMonkAndSpecial() then
return self:Monk()
elseif self:IsPaladinAndSpecial() then
return self:Paldin()
elseif self:IsPriestAndSpecial() then
return self:Priest()
elseif self:IsShamanAndSpecial() then
return self:Shaman()
elseif self:IsRogueAndSpecial() then
return self:Rogue()
elseif self:IsSpecialZone() then
elseif IsMounted() then
if IsFlying() then
elseif self:IsFlyable() then

else

end
elseif self:IsFlyable() then
elseif self:IsMountable()
end
end

function BeStride_Logic:RegularCombat()

end

function BeStride_Logic:MountButton()
-- Dismount Logic
-- This Logic needs to be cleaned up more
Expand Down Expand Up @@ -126,7 +162,7 @@ function BeStride_Logic:MountButton()
--BeStride_Debug:Debug("Not IsOutdoors")
else
--BeStride_Debug:Debug("Final Test")
return BeStride_Logic:Regular()
return BeStride_Mount:Regular()
--BeStride_Debug:Debug("End Final Test")
end
--BeStride_Debug:Debug("End Logic")
Expand Down

0 comments on commit 5df103d

Please sign in to comment.