Skip to content

Commit

Permalink
Release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed Oct 26, 2018
1 parent 741549d commit dc7cac2
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 13 deletions.
2 changes: 2 additions & 0 deletions BeStride.lua
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ function BeStride:ChatCommand(input)
BeStride:buildMountTables()
elseif input == "map" then
BeStride:GetMaps()
elseif input == "underwater" then
BeStride_Logic:IsUnderwater()
else
BeStride_GUI:Frame(input)
end
Expand Down
2 changes: 1 addition & 1 deletion BeStride.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title: BeStride
## Notes: Manages your Mounts
## Author: Anaximander - Burning Legion US
## Version: 0.5.0
## Version: 1.0.0
## X-Category: Interface Enhancements
## X-Embeds: Ace3
## OptionalDeps: Ace3
Expand Down
2 changes: 1 addition & 1 deletion BeStride_Constants.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "0.5.0"
version = "1.0.0"
author = "Anaximander"

BeStride_Constants = {
Expand Down
2 changes: 1 addition & 1 deletion BeStride_GUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ end
function BeStride_GUI:DrawAboutTab(container)
container:SetLayout("Flow")
local about = AceGUI:Create("Label")
about:SetText( "Version: " .. version .. "\n" .. "Author: " .. author .. "\n" .. "Description: " .. "\n\n" .. " " .. "BeStride originally started out as YayMounts by Cyrae on Windrunner US and Anzu on Kirin Tor US" .. "\n" .. " " .. "Later, Anaximander from Burning Legion US found the project was neglected and had several bugs which needed to be resolved" .. "\n" .. " " .. "as part of the bug resolution process, the addon was modernized to make the code cleaner to follow as well as more modular." .. "\n" )
about:SetText( "Version: " .. version .. "\n" .. "Author: " .. author .. "\n" .. "Description: " .. "\n\n" .. " " .. "BeStride originally started out as YayMounts by Cyrae on Windrunner US and Anzu on Kirin Tor US" .. "\n" .. " " .. "Later, Anaximander from Burning Legion US found the project was neglected and had several bugs which needed to be resolved" .. "\n" .. " " .. "as part of the bug resolution process, the addon was modernized to make the code cleaner to follow as well as more modular." .. "\n\n" .. "Special Thanks:" .. "\n\n" .. " " .. "Mindlessgalaxy: For helping with the beta testing")
about:SetWidth(700)
container:AddChild(about)
end
27 changes: 26 additions & 1 deletion BeStride_Logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,23 @@ function BeStride_Logic:IsMountable()
end
end

function BeStride_Logic:IsUnderwater()
if IsSwimming() then
print("Swimming")
local timer, initial, maxvalue, scale, paused, label = GetMirrorTimerInfo(2)
if timer ~= nil and timer == "BREATH" and scale < 0 then
print("Underwater")
return true
else
print("On Surface")
return false
end
else
print("Not Swimming")
return false
end
end

function BeStride_Logic:IsSpecialZone()
local mapID = C_Map.GetBestMapForUnit("player")
local micro = BeStride:GetMapUntil(mapID,5)
Expand Down Expand Up @@ -681,7 +698,15 @@ function BeStride_Logic:CheckLoanedMount()
return 139421
end
end
elseif zone == BeStride_Locale.Zone.StormPeaks or zone == BeStride_Locale.Zone.Icecrown then
elseif zone == BestrideLocale.Zone.Oculus then
if GetItemCount(37859) == 1 then
return 37859
elseif GetItemCount(37860) == 1 then
return 37860
elseif GetItemCount(37815) == 1 then
return 37815
end
elseif zone == BeStride_Locale.Zone.StormPeaks or zone == BeStride_Locale.Zone.Icecrown or zone == BeStride_Locale.Zone.SholazarBasin then
if GetItemCount(44221, false) > 0 then
return 44221
elseif GetItemCount(44229, false) > 0 then
Expand Down
32 changes: 23 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,34 +37,35 @@ Special mounts are also usable:
* Abyssal Seahorse
* Subdued Seahorse
* Sea Turtle
* Water strider (prioritized)
* ~~Water strider (prioritized)~~

Project Pages
-----------------

Curseforge Addon: https://www.curseforge.com/wow/addons/bestride-mm
Curseforge Project: https://wow.curseforge.com/projects/bestride-mm
Github Project: https://github.com/DanSheps/Bestride/projects/1
Github Issues: https://github.com/Dansheps/Bestride/issues

Usage
=================

Configuration
-----------------

Configuration is accomplished through the use of the /ym slash command.
Configuration is accomplished through the use of the /br or /bestride slash command.

This will open the Yay Mounts GUI.
This will open the BeStride GUI. The GUI will also appear in the Blizzard "Addons" area under Interface

Mounting
-----------------

Mounting is accomplished through either setting a keybind or the following "click" buttons:

* Standard Mount: /click BestrideButtonMount
* Force Ground Mount: /click BestrideButtonGround
* Force Passenger Mount: /click BestrideButtonPassenger
* Force Repair Mount: /click BestrideButtonRepair
* Standard Mount: /click BeStride_ABRegularMount
* Force Ground Mount: /click BeStride_ABGroundMount
* Force Passenger Mount: /click BeStride_ABPassengerMount
* Force Repair Mount: /click BeStride_ABRepairMount

Class Specific Features
-----------------
Expand All @@ -80,7 +81,7 @@ The following classes have special features:
* Supports: Levitate
* Pressing a second time will cancel
* Mages
* Supports: Slow fall
* Supports: Slow fall, Blink
* Pressing a second time will cancel
* Monks
* Supports: Roll & Zen Flight
Expand All @@ -90,17 +91,30 @@ The following classes have special features:
* Supports: Divine Steed
* Death Knights
* Supports: Wraith Walk
* Demon Hunter
* Supports: Fel Rush, Glide

Changelog
=================
v0.5.0
v1.0.0
-----------------
* Full Release
* Logic rewritten
* UI rewritten
* New Features:
* New setting to force flying mounts when unable to fly (previously it would mix ground and flying)
* Separate Mage Blink and Slowfall if to only trigger one
* Added Death Knights Fel Rush and Gliding

v0.5.0
-----------------
* Beta Version
* UI rewritten
* New Features:
* New setting to force flying mounts when unable to fly (previously it would mix ground and flying)
* Separate Mage Blink and Slowfall if to only trigger one
* Added Death Knights Fel Rush and Gliding

v0.0.10
-----------------
* Added Mage Logic - Thanks to Daeymien for the pull request(s)
Expand Down
3 changes: 3 additions & 0 deletions localization/en-US.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ BeStride_Locale = {
StormPeaks = {
Name = "The Storm Peaks",
},
SholazarBasin = {
Name = "Sholazar Basin",
},
Wintergrasp = {
Name = "Wintergrasp",
},
Expand Down

0 comments on commit dc7cac2

Please sign in to comment.