mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-18 05:49:41 -04:00
* Set mana to 0 in addition to active power when character swaps talent specs.
--HG-- branch : trunk
This commit is contained in:
+6
-1
@@ -21882,6 +21882,11 @@ void Player::ActivateSpec(uint8 spec)
|
||||
}
|
||||
UnsummonPetTemporaryIfAny();
|
||||
SendActionButtons(1);
|
||||
SetPower(getPowerType(), 0);
|
||||
|
||||
Powers pw = getPowerType();
|
||||
if(pw != POWER_MANA)
|
||||
SetPower(POWER_MANA, 0);
|
||||
|
||||
SetPower(pw, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user