Core/Player: fixed logic for determining fully depleted runes - these are runes at max cooldown that hasn't started recovering yet

This commit is contained in:
Ovahlord
2024-12-20 18:22:08 +01:00
parent a5d4a0c9d7
commit 2087f75871
4 changed files with 29 additions and 10 deletions

View File

@@ -128,7 +128,7 @@ class spell_dk_runic_empowerment : public AuraScript
for (RuneType runeType : { RuneType::Blood, RuneType::Unholy, RuneType::Frost })
{
if (player->IsRuneFullyDepleted(runeType))
if (player->HasFullyDepletedRune(runeType))
{
switch (runeType)
{