mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[8196] Implement item 44012 spell effects.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
050962d9fd
commit
49b201e22b
4 changed files with 22 additions and 3 deletions
|
|
@ -1151,6 +1151,21 @@ void Spell::EffectDummy(uint32 i)
|
|||
case 58418: // Portal to Orgrimmar
|
||||
case 58420: // Portal to Stormwind
|
||||
return; // implemented in EffectScript[0]
|
||||
case 59640: // Underbelly Elixir
|
||||
{
|
||||
if(m_caster->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
uint32 spell_id = 0;
|
||||
switch(urand(1,3))
|
||||
{
|
||||
case 1: spell_id = 59645; break;
|
||||
case 2: spell_id = 59831; break;
|
||||
case 3: spell_id = 59843; break;
|
||||
}
|
||||
m_caster->CastSpell(m_caster,spell_id,true,NULL);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
//All IconID Check in there
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue