[7585] Implement quest item 39164 work. Author: KiriX

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-29 17:22:58 -06:00
parent d332c7225b
commit ba99171d5b

View File

@@ -1233,7 +1233,25 @@ 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:
{