aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Spells
diff options
context:
space:
mode:
authorOvahlord <dreadkiller@gmx.de>2024-10-21 22:15:32 +0200
committerOvahlord <dreadkiller@gmx.de>2024-10-21 22:29:50 +0200
commita99cd8f7f271694bda182965211377bc72bed849 (patch)
tree9e166131740b87dd18ef07cdf11da463b83865ee /src/server/scripts/Spells
parentaff7560e4c969a2da7fb48418596162f4d5620f7 (diff)
Core/Misc: downgraded RaceMask code for Cataclysm
* updated RaceMask defines in preparation for 4.4.1
Diffstat (limited to 'src/server/scripts/Spells')
-rw-r--r--src/server/scripts/Spells/spell_generic.cpp30
1 files changed, 2 insertions, 28 deletions
diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp
index d49718cb190..1a2fffd6414 100644
--- a/src/server/scripts/Spells/spell_generic.cpp
+++ b/src/server/scripts/Spells/spell_generic.cpp
@@ -423,20 +423,7 @@ class spell_gen_battleground_mercenary_shapeshift : public AuraScript
{ RACE_GOBLIN, { RACE_GNOME, RACE_DWARF } },
{ RACE_BLOODELF, { RACE_HUMAN, RACE_NIGHTELF } },
{ RACE_DRAENEI, { RACE_TAUREN, RACE_ORC } },
- { RACE_WORGEN, { RACE_TROLL } },
- { RACE_PANDAREN_NEUTRAL, { RACE_PANDAREN_NEUTRAL } },
- { RACE_PANDAREN_ALLIANCE, { RACE_PANDAREN_HORDE, RACE_PANDAREN_NEUTRAL } },
- { RACE_PANDAREN_HORDE, { RACE_PANDAREN_ALLIANCE, RACE_PANDAREN_NEUTRAL } },
- { RACE_NIGHTBORNE, { RACE_NIGHTELF, RACE_HUMAN } },
- { RACE_HIGHMOUNTAIN_TAUREN, { RACE_DRAENEI, RACE_NIGHTELF } },
- { RACE_VOID_ELF, { RACE_TROLL, RACE_BLOODELF } },
- { RACE_LIGHTFORGED_DRAENEI, { RACE_TAUREN, RACE_ORC } },
- { RACE_ZANDALARI_TROLL, { RACE_KUL_TIRAN, RACE_HUMAN } },
- { RACE_KUL_TIRAN, { RACE_ZANDALARI_TROLL } },
- { RACE_DARK_IRON_DWARF, { RACE_MAGHAR_ORC, RACE_ORC } },
- { RACE_VULPERA, { RACE_MECHAGNOME, RACE_DARK_IRON_DWARF /*guessed, for shamans*/ } },
- { RACE_MAGHAR_ORC, { RACE_DARK_IRON_DWARF } },
- { RACE_MECHAGNOME, { RACE_VULPERA } },
+ { RACE_WORGEN, { RACE_TROLL } }
};
inline static std::unordered_map<Races, std::array<uint32, 2>> const RaceDisplayIds =
@@ -452,20 +439,7 @@ class spell_gen_battleground_mercenary_shapeshift : public AuraScript
{ RACE_GOBLIN, { 55267, 57244 } },
{ RACE_BLOODELF, { 55265, 55264 } },
{ RACE_DRAENEI, { 55247, 55246 } },
- { RACE_WORGEN, { 55255, 55254 } },
- { RACE_PANDAREN_NEUTRAL, { 55253, 55252 } }, // not verified, might be swapped with RACE_PANDAREN_HORDE
- { RACE_PANDAREN_ALLIANCE, { 55249, 55248 } },
- { RACE_PANDAREN_HORDE, { 55251, 55250 } },
- { RACE_NIGHTBORNE, { 82375, 82376 } },
- { RACE_HIGHMOUNTAIN_TAUREN, { 82377, 82378 } },
- { RACE_VOID_ELF, { 82371, 82372 } },
- { RACE_LIGHTFORGED_DRAENEI, { 82373, 82374 } },
- { RACE_ZANDALARI_TROLL, { 88417, 88416 } },
- { RACE_KUL_TIRAN, { 88414, 88413 } },
- { RACE_DARK_IRON_DWARF, { 88409, 88408 } },
- { RACE_VULPERA, { 94999, 95001 } },
- { RACE_MAGHAR_ORC, { 88420, 88410 } },
- { RACE_MECHAGNOME, { 94998, 95000 } },
+ { RACE_WORGEN, { 55255, 55254 } }
};
inline static std::vector<uint32> RacialSkills;