[Horses] Convert Horses to Repositories (#3965)

* [Horses] Convert Horses to Repositories

# Notes
- Convert `BuildHorseType()` to repositories.
- Removed unused code, parameters, and member variables in horses.

* Update horse.cpp
This commit is contained in:
Alex King authored and GitHub committed 2024-01-12 23:33:52 -06:00
1 parent 11e2a252e5
commit b9f997015a
4 files changed
+106 -121

No files matched your search

+1
View File
@@ -55,6 +55,7 @@
#define MISS_NOTE 180 //You miss a note, bringing your song to a close!
#define CANNOT_USE_ITEM 181 //Your race, class, or deity cannot use this item.
#define ITEM_OUT_OF_CHARGES 182 //Item is out of charges.
#define ALREADY_ON_A_MOUNT 189 //You are already on a mount.
#define TARGET_NO_MANA 191 //Your target has no mana to affect
#define TARGET_GROUP_MEMBER 196 //You must first target a group member.
#define SPELL_TOO_POWERFUL 197 //Your spell is too powerful for your intended target.