Skip to content

Commit

Permalink
Merge pull request #179 from Bestride/develop
Browse files Browse the repository at this point in the history
Fixes #174 - Add Flight and Aquatic forms for WotLK
  • Loading branch information
DanSheps committed Oct 15, 2022
2 parents 4891d9f + 4c39c5e commit cbecb5d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions Versions/BeStride_Mainline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<Script file="Common\mounting.special.lua"/>
<Script file="Common\mounting.zone.lua"/>
<Script file="Common\settings.lua"/>
<Script file="Mainline\bestride.lua"/>
<Script file="Mainline\MountTable.lua"/>
<Script file="Mainline\logic.lua"/>
<Script file="Common\upgrade.lua"/>
Expand Down
1 change: 1 addition & 0 deletions Versions/BeStride_Wrath.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<Script file="Common\mounting.special.lua"/>
<Script file="Common\mounting.zone.lua"/>
<Script file="Common\settings.lua"/>
<Script file="Wrath\bestride.lua"/>
<Script file="Wrath\logic.lua"/>
<Script file="Wrath\MountDB.lua"/>
<Script file="Wrath\MountTable.lua"/>
Expand Down
1 change: 1 addition & 0 deletions Versions/Common/bestride.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function BeStride:Frame()
end

function BeStride:OnEnable()
BeStride:Version_OnEnable()
BeStride:buildMountTables()

if BeStride_Game == "Mainline" then
Expand Down
3 changes: 3 additions & 0 deletions Versions/Mainline/bestride.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

function BeStride:OnEnable()
end
11 changes: 11 additions & 0 deletions Versions/Wrath/bestride.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

function BeStride:OnEnable()
BeStride_Constants.spells.druid.travelform = 783
BeStride_Constants.spells.druid.flightform = 33943
if IsPlayerSpell(40120) then
BeStride_Constants.spells.druid.flightform = 40120
else
BeStride_Constants.spells.druid.flightform = 33943
end
BeStride_Constants.spells.druid.aquaticform = 1066
end

0 comments on commit cbecb5d

Please sign in to comment.