Core/Misc: Move TalentSpecialization together with other db2 enums and rename it to ChrSpecialization
Port From (https://github.com/TrinityCore/TrinityCore/commit/d2784d4c65ec987fe587718d96b2feb885905e13)
This commit is contained in:
@@ -537,7 +537,7 @@ namespace Scripts.Spells.Shaman
|
||||
Player player = GetCaster().ToPlayer();
|
||||
byte slot = EquipmentSlot.MainHand;
|
||||
|
||||
if (player.GetPrimarySpecialization() == (uint)TalentSpecialization.ShamanEnhancement)
|
||||
if (player.GetPrimarySpecialization() == (uint)ChrSpecialization.ShamanEnhancement)
|
||||
slot = EquipmentSlot.OffHand;
|
||||
|
||||
Item targetItem = player.GetItemByPos(InventorySlots.Bag0, slot);
|
||||
|
||||
Reference in New Issue
Block a user