[7585] Implement quest item 39164 work.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
KiriX 2009-03-29 23:53:08 +04:00 committed by VladimirMangos
parent 884c48d11c
commit f726bd69a5
2 changed files with 19 additions and 1 deletions

View file

@ -1104,6 +1104,24 @@ void Spell::EffectDummy(uint32 i)
m_caster->CastSpell(m_caster, 30452, true, NULL);
return;
}
case 52308:
{
switch(i)
{
case 0:
{
uint32 spellID = m_spellInfo->CalculateSimpleValue(0);
uint32 reqAuraID = m_spellInfo->CalculateSimpleValue(1);
if (m_caster->HasAura(reqAuraID,0))
m_caster->CastSpell(m_caster,spellID,true,NULL);
return;
}
case 1:
return; // additional data for dummy[0]
}
return;
}
case 53341:
case 53343:
{