mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 16:39:08 +01:00
Core/Spells: removed a unneeded class check in 0cdddca210
This commit is contained in:
@@ -25876,9 +25876,8 @@ void Player::UpdateRuneRegeneration()
|
||||
if (haste)
|
||||
regeneration /= haste;
|
||||
|
||||
if (getClass() == CLASS_DEATH_KNIGHT)
|
||||
for (uint8 i = 0; i < NUM_RUNE_TYPES; i++)
|
||||
SetFloatValue(PLAYER_RUNE_REGEN_1 + i, regeneration);
|
||||
for (uint8 i = 0; i < NUM_RUNE_TYPES; i++)
|
||||
SetFloatValue(PLAYER_RUNE_REGEN_1 + i, regeneration);
|
||||
}
|
||||
|
||||
bool Player::IsBaseRuneSlotsOnCooldown(RuneType runeType) const
|
||||
|
||||
Reference in New Issue
Block a user