*Hunter pets should now have their talents refunded when a hunter switches talent specs, even if they are dismissed at the time.
--HG-- branch : trunk
This commit is contained in:
@@ -21991,6 +21991,10 @@ void Player::ActivateSpec(uint8 spec)
|
|||||||
if (IsNonMeleeSpellCasted(false))
|
if (IsNonMeleeSpellCasted(false))
|
||||||
InterruptNonMeleeSpells(false);
|
InterruptNonMeleeSpells(false);
|
||||||
|
|
||||||
|
// "Hunter pets should have their talents refunded when a hunter switches talent specs, even if they are dismissed at the time."
|
||||||
|
if (getClass() == CLASS_HUNTER)
|
||||||
|
Pet::resetTalentsForAllPetsOf(this, GetPet());
|
||||||
|
|
||||||
UnsummonPetTemporaryIfAny();
|
UnsummonPetTemporaryIfAny();
|
||||||
ClearComboPointHolders();
|
ClearComboPointHolders();
|
||||||
ClearAllReactives();
|
ClearAllReactives();
|
||||||
|
|||||||
Reference in New Issue
Block a user