/RandomMounts

World of Warcraft Addon, project meant for personal education

Primary LanguageLua

RandomMounts

This is a repository for a World of Warcraft Addon "Ridez"

Note from creator: This project is meant to help me learn Lua. I am aware of other addons that perform similar functionality (and probably do it better), but I wanted a project that was both interesting and small enough in scope that I would not be overwhelmed.

Since this is my first Lua project, while I will always appreciate anyone spotting a bug in my code, what I am most intersted in is comments on my use and implentation of Lua. Comments like, "Don't use func1(), func2() is better," is far less helpful than, "func1() accesses global variables and is less efficient than func2()." Also, "I refer you to the 'Lua Refence Manual'" is not helpful; "I refer you to Chapter 2.3 of the manual" is. Thank you in advance for any help you provide.

About the project:

The intention is to be a simple addon that will overide the default mount command "CallCompanion("MOUNT", x)" with a randomly generated mount.

Ridez will evaluate if flying mounts are authorized, if the player is swimming, and if the player is in a special zone like AQ40 or Wintergrasp. Ridez will also allow for designation of special mounts (i.e. vendors) or favorite mounts.

If the player is currently mounted, Rizes will allow the ejection of passengers and the ability to dismount.