Core/Spells: fixed an logic mistake in Runic Empowerment's spell script that was preventing the first blood or death rune from ever getting activated
This commit is contained in:
1 parent
53435263e1
commit
cad75cdaf3
1 file changed
+4
-2
@@ -1168,8 +1168,10 @@ class spell_dk_runic_empowerment : public AuraScript
|
||||
}
|
||||
|
||||
if (!fullyDepletedRuneIndexes.empty())
|
||||
if (uint8 runeIndex = Trinity::Containers::SelectRandomContainerElement(fullyDepletedRuneIndexes))
|
||||
ActivateRune(player, runeIndex);
|
||||
{
|
||||
uint8 runeIndex = Trinity::Containers::SelectRandomContainerElement(fullyDepletedRuneIndexes);
|
||||
ActivateRune(player, runeIndex);
|
||||
}
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
||||
Reference in new issue
Block a user