Core/Spells: Apply only 1.5 second cooldown to DK runes when spell misses its target
This commit is contained in:
@@ -22911,7 +22911,7 @@ void Player::RemoveGlobalCooldown(SpellEntry const *spellInfo)
|
||||
uint32 Player::GetRuneBaseCooldown(uint8 index)
|
||||
{
|
||||
uint8 rune = GetBaseRune(index);
|
||||
uint32 cooldown = RUNE_COOLDOWN;
|
||||
uint32 cooldown = RUNE_BASE_COOLDOWN;
|
||||
|
||||
AuraEffectList const& regenAura = GetAuraEffectsByType(SPELL_AURA_MOD_POWER_REGEN_PERCENT);
|
||||
for (AuraEffectList::const_iterator i = regenAura.begin();i != regenAura.end(); ++i)
|
||||
|
||||
@@ -289,7 +289,12 @@ struct Areas
|
||||
};
|
||||
|
||||
#define MAX_RUNES 6
|
||||
#define RUNE_COOLDOWN 10000
|
||||
|
||||
enum RuneCooldowns
|
||||
{
|
||||
RUNE_BASE_COOLDOWN = 10000,
|
||||
RUNE_MISS_COOLDOWN = 1500, // cooldown applied on runes when the spell misses
|
||||
};
|
||||
|
||||
enum RuneType
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user