mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
* Set mana to 0 in addition to active power when character swaps talent specs.
--HG-- branch : trunk
This commit is contained in:
@@ -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