aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2010-02-15 19:09:17 +0100
committern0n4m3 <none@none>2010-02-15 19:09:17 +0100
commitfeea2417c3036fc98163ad9bfcfe067bf7a620db (patch)
tree31cdd1239bdbe93069e92199666ff01f35fadd8a /src/game/Spell.cpp
parentebc5ce6810a65c49f572215b3d6d5e1253a84e7c (diff)
Fix talent Shockwave and typo in comment.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 82ce7220f54..3451e75c571 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -3015,7 +3015,7 @@ void Spell::handle_immediate()
int32 duration = GetSpellDuration(m_spellInfo);
if (duration)
{
- //apply haste mods
+ // Apply haste mods
m_caster->ModSpellCastTime(m_spellInfo, duration, this);
// Apply duration mod
if(Player* modOwner = m_caster->GetSpellModOwner())
@@ -4628,7 +4628,7 @@ SpellCastResult Spell::CheckCast(bool strict)
return SPELL_FAILED_ONLY_BATTLEGROUNDS;
// do not allow spells to be cast in arenas
- // - with greater than 15 min CD without SPELL_ATTR_EX4_USABLE_IN_ARENA flag
+ // - with greater than 10 min CD without SPELL_ATTR_EX4_USABLE_IN_ARENA flag
// - with SPELL_ATTR_EX4_NOT_USABLE_IN_ARENA flag
if ((m_spellInfo->AttributesEx4 & SPELL_ATTR_EX4_NOT_USABLE_IN_ARENA) ||
GetSpellRecoveryTime(m_spellInfo) > 10 * MINUTE * IN_MILISECONDS && !(m_spellInfo->AttributesEx4 & SPELL_ATTR_EX4_USABLE_IN_ARENA))