aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-06-07 13:14:08 +0200
committerQAston <none@none>2009-06-07 13:14:08 +0200
commitda74a474107f8f80a3bf8f8a80b452e661ead877 (patch)
tree9863e419041ecdf7b37b9955527bd911dd06ce72 /src/game/SpellEffects.cpp
parent076379d3efa49559cecb93f5d1c5bf56f3d7b4b3 (diff)
*Allow auras SPELL_AURA_MECHANIC_DURATION_MOD and similar to use effect mechanics to check which spell can be moded.
*Note: prev commit was about freezing arrow:) --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index dcc7273691d..725da3ee565 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -2135,7 +2135,7 @@ void Spell::EffectTriggerSpell(uint32 i)
}
// Remove spell cooldown (not category) if spell triggering spell with cooldown and same category
- // Needed by freezing trap and few other spells
+ // Needed by freezing arrow and few other spells
if (m_caster->GetTypeId() == TYPEID_PLAYER && m_spellInfo->CategoryRecoveryTime && spellInfo->CategoryRecoveryTime
&& m_spellInfo->Category == spellInfo->Category)
((Player*)m_caster)->RemoveSpellCooldown(spellInfo->Id);
@@ -2179,7 +2179,7 @@ void Spell::EffectTriggerMissileSpell(uint32 effect_idx)
DEBUG_LOG("WORLD: cast Item spellId - %i", spellInfo->Id);
// Remove spell cooldown (not category) if spell triggering spell with cooldown and same category
- // Needed by freezing trap and few other spells
+ // Needed by freezing arrow and few other spells
if (m_caster->GetTypeId() == TYPEID_PLAYER && m_spellInfo->CategoryRecoveryTime && spellInfo->CategoryRecoveryTime
&& m_spellInfo->Category == spellInfo->Category)
((Player*)m_caster)->RemoveSpellCooldown(spellInfo->Id);