mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Core/Spells: cleaned up more unneeded stuff
This commit is contained in:
@@ -1738,7 +1738,7 @@ class spell_dk_runic_empowerment : public SpellScriptLoader
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8 randomRune = std::min(Trinity::Containers::SelectRandomContainerElement(cooldownRuneIndex) + 1, MAX_RUNES);
|
||||
uint8 randomRune = Trinity::Containers::SelectRandomContainerElement(cooldownRuneIndex);
|
||||
RuneType rune = player->GetCurrentRune(randomRune);
|
||||
switch (rune)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user