aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Entities/Player/Player.h34
-rw-r--r--src/server/scripts/Spells/spell_druid.cpp3
2 files changed, 35 insertions, 2 deletions
diff --git a/src/server/game/Entities/Player/Player.h b/src/server/game/Entities/Player/Player.h
index 583423a28d5..9b2b508dbe7 100644
--- a/src/server/game/Entities/Player/Player.h
+++ b/src/server/game/Entities/Player/Player.h
@@ -115,6 +115,40 @@ struct PlayerTalent
uint8 spec : 8;
};
+enum TalentTree // talent tabs
+{
+ TALENT_TREE_WARRIOR_ARMS = 746,
+ TALENT_TREE_WARRIOR_FURY = 815,
+ TALENT_TREE_WARRIOR_PROTECTION = 845,
+ TALENT_TREE_PALADIN_HOLY = 831,
+ TALENT_TREE_PALADIN_PROTECTION = 839,
+ TALENT_TREE_PALADIN_RETRIBUTION = 855,
+ TALENT_TREE_HUNTER_BEAST_MASTERY = 811,
+ TALENT_TREE_HUNTER_MARKSMANSHIP = 807,
+ TALENT_TREE_HUNTER_SURVIVAL = 809,
+ TALENT_TREE_ROGUE_ASSASSINATION = 182,
+ TALENT_TREE_ROGUE_COMBAT = 181,
+ TALENT_TREE_ROGUE_SUBTLETY = 183,
+ TALENT_TREE_PRIEST_DISCIPLINE = 760,
+ TALENT_TREE_PRIEST_HOLY = 813,
+ TALENT_TREE_PRIEST_SHADOW = 795,
+ TALENT_TREE_DEATH_KNIGHT_BLOOD = 398,
+ TALENT_TREE_DEATH_KNIGHT_FROST = 399,
+ TALENT_TREE_DEATH_KNIGHT_UNHOLY = 400,
+ TALENT_TREE_SHAMAN_ELEMENTAL = 261,
+ TALENT_TREE_SHAMAN_ENHANCEMENT = 263,
+ TALENT_TREE_SHAMAN_RESTORATION = 262,
+ TALENT_TREE_MAGE_ARCANE = 799,
+ TALENT_TREE_MAGE_FIRE = 851,
+ TALENT_TREE_MAGE_FROST = 823,
+ TALENT_TREE_WARLOCK_AFFLICTION = 871,
+ TALENT_TREE_WARLOCK_DEMONOLOGY = 867,
+ TALENT_TREE_WARLOCK_DESTRUCTION = 865,
+ TALENT_TREE_DRUID_BALANCE = 752,
+ TALENT_TREE_DRUID_FERAL_COMBAT = 750,
+ TALENT_TREE_DRUID_RESTORATION = 748
+};
+
// Spell modifier (used for modify other spells)
struct SpellModifier
{
diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp
index 5cba8edb37e..f8adb13d058 100644
--- a/src/server/scripts/Spells/spell_druid.cpp
+++ b/src/server/scripts/Spells/spell_druid.cpp
@@ -158,7 +158,6 @@ enum EclipseSpells
SPELL_DRUID_SOLAR_ECLIPSE_MARKER = 67483, // Will make the yellow arrow on eclipse bar point to the yellow side (solar)
SPELL_DRUID_SOLAR_ECLIPSE = 48517,
SPELL_DRUID_LUNAR_ECLIPSE = 48518,
- TALENT_TREE_BALANCE = 752,
};
// Wrath, Starfire, and Starsurge
@@ -191,7 +190,7 @@ public:
Player* caster = GetCaster()->ToPlayer();
// No boomy, no deal.
- if (caster->GetPrimaryTalentTree(caster->GetActiveSpec()) != TALENT_TREE_BALANCE)
+ if (caster->GetPrimaryTalentTree(caster->GetActiveSpec()) != TALENT_TREE_DRUID_BALANCE)
return;
switch(GetSpellInfo()->Id)