Add support for quest 11626 (The Emissary) - patch by antihrists (thanks)

Closes issue #1061

--HG--
branch : trunk
This commit is contained in:
click
2010-05-01 08:30:46 +02:00
parent 3a61667492
commit 8df6879e94
3 changed files with 35 additions and 0 deletions

View File

@@ -1260,6 +1260,14 @@ void Spell::EffectDummy(uint32 i)
m_caster->CastSpell(m_caster, 45088, true);
return;
}
case 47170: // Impale Leviroth
{
if (!unitTarget && unitTarget->GetEntry() != 26452 && ((unitTarget->GetHealth() / unitTarget->GetMaxHealth()) * 100.0f) > 95.0f)
return;
m_caster->DealDamage(unitTarget, unitTarget->GetMaxHealth()*0.93f);
return;
}
case 49625: // Brave's Flare
{
//Trigger Brave's Flare Effect (with EffectTarget)