[8800] Implement item 47499 work.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Splinter 2009-11-10 21:17:01 +03:00 committed by VladimirMangos
parent ee0fa56166
commit 22fb22ee5e
6 changed files with 33 additions and 3 deletions

View file

@ -1321,6 +1321,22 @@ void Spell::EffectDummy(uint32 i)
return;
m_caster->CastSpell(unitTarget,60934,true,NULL);
return;
case 67019: // Flask of the North
{
if (m_caster->GetTypeId() != TYPEID_PLAYER)
return;
uint32 spell_id;
switch(urand(1, 3))
{
case 1: spell_id = 67016; break;
case 2: spell_id = 67017; break;
default:spell_id = 67018; break;
}
m_caster->CastSpell(m_caster, spell_id, true, NULL);
return;
}
}
break;
}