[FIX] Freezing Arrow
Página 1 de 1
[FIX] Freezing Arrow
- Código:
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index fb7bee8..eb12026 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -2026,6 +2026,12 @@ void Spell::EffectTriggerMissileSpell(uint32 effect_idx)
return;
}
+ // Category cooldown exception
+ if(m_spellInfo->Category == spellInfo->Category &&
+ m_spellInfo->CategoryRecoveryTime == spellInfo->CategoryRecoveryTime &&
+ m_caster->GetTypeId() == TYPEID_PLAYER)
+ ((Player*)m_caster)->RemoveSpellCooldown(triggered_spell_id);
+
if (m_CastItem)
DEBUG_LOG("WORLD: cast Item spellId - %i", spellInfo->Id);
Gøuki- Administrador Geral
- Mensagens : 22
Pontos : 5423
Reputação : 0
Data de inscrição : 12/08/2009
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|