diff options
author | maanuel <none@none> | 2009-12-26 14:46:19 -0300 |
---|---|---|
committer | maanuel <none@none> | 2009-12-26 14:46:19 -0300 |
commit | 6272e29d909e00ea7abcc048ea6628cc5e92bd71 (patch) | |
tree | 68e77d0b393742242e3aca05d38a0c327db39c11 /src | |
parent | 947b258479f4877f74007a174459aec804899479 (diff) |
Support for spell 67729.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 8a60e9b4845..725ff33d971 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -423,7 +423,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx) } // Gargoyle Strike case SPELL_GARGOYLE_STRIKE_51963: - { + { // about +4 base spell dmg per level damage = (m_caster->getLevel() - 60) * 4 + 60; break; @@ -727,7 +727,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx) float ap = m_caster->GetTotalAttackPowerValue(BASE_ATTACK); float sp = m_caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellInfo)); damage += int32(0.14f*ap + 0.22f*sp); - } + } break; } case SPELLFAMILY_DEATHKNIGHT: @@ -5680,6 +5680,11 @@ void Spell::EffectScriptEffect(uint32 effIndex) } break; } + case 67751:// Ghoul Explode + { + unitTarget->CastSpell(unitTarget,67729,false); //Explode + break; + } } break; } @@ -6099,7 +6104,7 @@ void Spell::EffectSanctuary(uint32 /*i*/) if(m_spellInfo->SpellFamilyName == SPELLFAMILY_ROGUE && (m_spellInfo->SpellFamilyFlags[0] & SPELLFAMILYFLAG_ROGUE_VANISH)) { ((Player *)m_caster)->RemoveAurasByType(SPELL_AURA_MOD_ROOT); - // Overkill + // Overkill if(((Player*)m_caster)->HasSpell(58426)) m_caster->CastSpell(m_caster, 58427, true); } |