mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
Move spelltype names, spell subtypes, category names and setting names to maps.
This commit is contained in:
+150
@@ -742,6 +742,156 @@ namespace BotSpellTypes
|
||||
constexpr uint16 DISCIPLINE_END = BotSpellTypes::DiscUtility; // Do not remove this, increment as needed
|
||||
}
|
||||
|
||||
static std::map<uint16, std::string> spellType_names = {
|
||||
{ BotSpellTypes::Nuke, "Nuke" },
|
||||
{ BotSpellTypes::RegularHeal, "Regular Heal" },
|
||||
{ BotSpellTypes::Root, "Root" },
|
||||
{ BotSpellTypes::Buff, "Buff" },
|
||||
{ BotSpellTypes::Escape, "Escape" },
|
||||
{ BotSpellTypes::Pet, "Pet" },
|
||||
{ BotSpellTypes::Lifetap, "Lifetap" },
|
||||
{ BotSpellTypes::Snare, "Snare" },
|
||||
{ BotSpellTypes::DOT, "DoT" },
|
||||
{ BotSpellTypes::Dispel, "Dispel" },
|
||||
{ BotSpellTypes::InCombatBuff, "In-Combat Buff" },
|
||||
{ BotSpellTypes::Mez, "Mez" },
|
||||
{ BotSpellTypes::Charm, "Charm" },
|
||||
{ BotSpellTypes::Slow, "Slow" },
|
||||
{ BotSpellTypes::Debuff, "Debuff" },
|
||||
{ BotSpellTypes::Cure, "Cure" },
|
||||
{ BotSpellTypes::GroupCures, "Group Cure" },
|
||||
{ BotSpellTypes::PetCures, "Pet Cure" },
|
||||
{ BotSpellTypes::Resurrect, "Resurrect" },
|
||||
{ BotSpellTypes::HateRedux, "Hate Reduction" },
|
||||
{ BotSpellTypes::InCombatBuffSong, "In-Combat Buff Song" },
|
||||
{ BotSpellTypes::OutOfCombatBuffSong, "Out-of-Combat Buff Song" },
|
||||
{ BotSpellTypes::PreCombatBuff, "Pre-Combat Buff" },
|
||||
{ BotSpellTypes::PreCombatBuffSong, "Pre-Combat Buff Song" },
|
||||
{ BotSpellTypes::Fear, "Fear" },
|
||||
{ BotSpellTypes::Stun, "Stun" },
|
||||
{ BotSpellTypes::CompleteHeal, "Complete Heal" },
|
||||
{ BotSpellTypes::FastHeals, "Fast Heal" },
|
||||
{ BotSpellTypes::VeryFastHeals, "Very Fast Heal" },
|
||||
{ BotSpellTypes::GroupHeals, "Group Heal" },
|
||||
{ BotSpellTypes::GroupCompleteHeals, "Group Complete Heal" },
|
||||
{ BotSpellTypes::GroupHoTHeals, "Group HoT Heal" },
|
||||
{ BotSpellTypes::HoTHeals, "HoT Heal" },
|
||||
{ BotSpellTypes::AENukes, "AE Nuke" },
|
||||
{ BotSpellTypes::AERains, "AE Rain" },
|
||||
{ BotSpellTypes::AEMez, "AE Mez" },
|
||||
{ BotSpellTypes::AEStun, "AE Stun" },
|
||||
{ BotSpellTypes::AEDebuff, "AE Debuff" },
|
||||
{ BotSpellTypes::AESlow, "AE Slow" },
|
||||
{ BotSpellTypes::AESnare, "AE Snare" },
|
||||
{ BotSpellTypes::AEFear, "AE Fear" },
|
||||
{ BotSpellTypes::AEDispel, "AE Dispel" },
|
||||
{ BotSpellTypes::AERoot, "AE Root" },
|
||||
{ BotSpellTypes::AEDoT, "AE DoT" },
|
||||
{ BotSpellTypes::AELifetap, "AE Lifetap" },
|
||||
{ BotSpellTypes::PBAENuke, "PBAE Nuke" },
|
||||
{ BotSpellTypes::PetBuffs, "Pet Buff" },
|
||||
{ BotSpellTypes::PetRegularHeals, "Pet Regular Heal" },
|
||||
{ BotSpellTypes::PetCompleteHeals, "Pet Complete Heal" },
|
||||
{ BotSpellTypes::PetFastHeals, "Pet Fast Heal" },
|
||||
{ BotSpellTypes::PetVeryFastHeals, "Pet Very Fast Heal" },
|
||||
{ BotSpellTypes::PetHoTHeals, "Pet HoT Heal" },
|
||||
{ BotSpellTypes::DamageShields, "Damage Shield" },
|
||||
{ BotSpellTypes::ResistBuffs, "Resist Buff" },
|
||||
{ BotSpellTypes::PetDamageShields, "Pet Damage Shield" },
|
||||
{ BotSpellTypes::PetResistBuffs, "Pet Resist Buff" },
|
||||
{ BotSpellTypes::HateLine, "Hate Line" },
|
||||
{ BotSpellTypes::AEHateLine, "AE Hate Line" },
|
||||
{ BotSpellTypes::Lull, "Lull" },
|
||||
{ BotSpellTypes::Teleport, "Teleport" },
|
||||
{ BotSpellTypes::Succor, "Succor" },
|
||||
{ BotSpellTypes::BindAffinity, "Bind Affinity" },
|
||||
{ BotSpellTypes::Identify, "Identify" },
|
||||
{ BotSpellTypes::Levitate, "Levitate" },
|
||||
{ BotSpellTypes::Rune, "Rune" },
|
||||
{ BotSpellTypes::WaterBreathing, "Water Breathing" },
|
||||
{ BotSpellTypes::Size, "Size" },
|
||||
{ BotSpellTypes::Invisibility, "Invisibility" },
|
||||
{ BotSpellTypes::MovementSpeed, "Movement Speed" },
|
||||
{ BotSpellTypes::SendHome, "Send Home" },
|
||||
{ BotSpellTypes::SummonCorpse, "Summon Corpse" },
|
||||
{ BotSpellTypes::AELull, "AE Lull" }
|
||||
};
|
||||
|
||||
static std::map<uint16, std::string> spellType_shortNames = {
|
||||
{ BotSpellTypes::Nuke, "nukes" },
|
||||
{ BotSpellTypes::RegularHeal, "regularheals" },
|
||||
{ BotSpellTypes::Root, "roots" },
|
||||
{ BotSpellTypes::Buff, "buffs" },
|
||||
{ BotSpellTypes::Escape, "escapes" },
|
||||
{ BotSpellTypes::Pet, "pets" },
|
||||
{ BotSpellTypes::Lifetap, "lifetaps" },
|
||||
{ BotSpellTypes::Snare, "snares" },
|
||||
{ BotSpellTypes::DOT, "dots" },
|
||||
{ BotSpellTypes::Dispel, "dispels" },
|
||||
{ BotSpellTypes::InCombatBuff, "incombatbuffs" },
|
||||
{ BotSpellTypes::Mez, "mez" },
|
||||
{ BotSpellTypes::Charm, "charms" },
|
||||
{ BotSpellTypes::Slow, "slows" },
|
||||
{ BotSpellTypes::Debuff, "debuffs" },
|
||||
{ BotSpellTypes::Cure, "cures" },
|
||||
{ BotSpellTypes::GroupCures, "groupcures" },
|
||||
{ BotSpellTypes::PetCures, "petcure" },
|
||||
{ BotSpellTypes::Resurrect, "resurrect" },
|
||||
{ BotSpellTypes::HateRedux, "hateredux" },
|
||||
{ BotSpellTypes::InCombatBuffSong, "incombatbuffsongs" },
|
||||
{ BotSpellTypes::OutOfCombatBuffSong, "outofcombatbuffsongs" },
|
||||
{ BotSpellTypes::PreCombatBuff, "precombatbuffs" },
|
||||
{ BotSpellTypes::PreCombatBuffSong, "precombatbuffsongs" },
|
||||
{ BotSpellTypes::Fear, "fears" },
|
||||
{ BotSpellTypes::Stun, "stuns" },
|
||||
{ BotSpellTypes::CompleteHeal, "completeheals" },
|
||||
{ BotSpellTypes::FastHeals, "fastheals" },
|
||||
{ BotSpellTypes::VeryFastHeals, "veryfastheals" },
|
||||
{ BotSpellTypes::GroupHeals, "groupheals" },
|
||||
{ BotSpellTypes::GroupCompleteHeals, "groupcompleteheals" },
|
||||
{ BotSpellTypes::GroupHoTHeals, "grouphotheals" },
|
||||
{ BotSpellTypes::HoTHeals, "hotheals" },
|
||||
{ BotSpellTypes::AENukes, "aenukes" },
|
||||
{ BotSpellTypes::AERains, "aerains" },
|
||||
{ BotSpellTypes::AEMez, "aemez" },
|
||||
{ BotSpellTypes::AEStun, "aestuns" },
|
||||
{ BotSpellTypes::AEDebuff, "aedebuffs" },
|
||||
{ BotSpellTypes::AESlow, "aeslows" },
|
||||
{ BotSpellTypes::AESnare, "aesnares" },
|
||||
{ BotSpellTypes::AEFear, "aefears" },
|
||||
{ BotSpellTypes::AEDispel, "aedispels" },
|
||||
{ BotSpellTypes::AERoot, "aeroots" },
|
||||
{ BotSpellTypes::AEDoT, "aedots" },
|
||||
{ BotSpellTypes::AELifetap, "aelifetaps" },
|
||||
{ BotSpellTypes::PBAENuke, "pbaenukes" },
|
||||
{ BotSpellTypes::PetBuffs, "petbuffs" },
|
||||
{ BotSpellTypes::PetRegularHeals, "petregularheals" },
|
||||
{ BotSpellTypes::PetCompleteHeals, "petcompleteheals" },
|
||||
{ BotSpellTypes::PetFastHeals, "petfastheals" },
|
||||
{ BotSpellTypes::PetVeryFastHeals, "petveryfastheals" },
|
||||
{ BotSpellTypes::PetHoTHeals, "pethotheals" },
|
||||
{ BotSpellTypes::DamageShields, "damageshields" },
|
||||
{ BotSpellTypes::ResistBuffs, "resistbuffs" },
|
||||
{ BotSpellTypes::PetDamageShields, "petdamageshields" },
|
||||
{ BotSpellTypes::PetResistBuffs, "petresistbuffs" },
|
||||
{ BotSpellTypes::HateLine, "hateline" },
|
||||
{ BotSpellTypes::AEHateLine, "aehateline" },
|
||||
{ BotSpellTypes::Lull, "lull" },
|
||||
{ BotSpellTypes::Teleport, "teleport" },
|
||||
{ BotSpellTypes::Succor, "succor" },
|
||||
{ BotSpellTypes::BindAffinity, "bindaffinity" },
|
||||
{ BotSpellTypes::Identify, "identify" },
|
||||
{ BotSpellTypes::Levitate, "levitate" },
|
||||
{ BotSpellTypes::Rune, "rune" },
|
||||
{ BotSpellTypes::WaterBreathing, "waterbreathing" },
|
||||
{ BotSpellTypes::Size, "size" },
|
||||
{ BotSpellTypes::Invisibility, "invisibility" },
|
||||
{ BotSpellTypes::MovementSpeed, "movementspeed" },
|
||||
{ BotSpellTypes::SendHome, "sendhome" },
|
||||
{ BotSpellTypes::SummonCorpse, "summoncorpse" },
|
||||
{ BotSpellTypes::AELull, "aelull" }
|
||||
};
|
||||
|
||||
const uint32 SPELL_TYPES_DETRIMENTAL = (SpellType_Nuke | SpellType_Root | SpellType_Lifetap | SpellType_Snare | SpellType_DOT | SpellType_Dispel | SpellType_Mez | SpellType_Charm | SpellType_Debuff | SpellType_Slow);
|
||||
const uint32 SPELL_TYPES_BENEFICIAL = (SpellType_Heal | SpellType_Buff | SpellType_Escape | SpellType_Pet | SpellType_InCombatBuff | SpellType_Cure | SpellType_HateRedux | SpellType_InCombatBuffSong | SpellType_OutOfCombatBuffSong | SpellType_PreCombatBuff | SpellType_PreCombatBuffSong);
|
||||
const uint32 SPELL_TYPES_INNATE = (SpellType_Nuke | SpellType_Lifetap | SpellType_DOT | SpellType_Dispel | SpellType_Mez | SpellType_Slow | SpellType_Debuff | SpellType_Charm | SpellType_Root);
|
||||
|
||||
Reference in New Issue
Block a user