fix(Spell/Scripts): MOVE Drinking to spell scripts (#11105)

This commit is contained in:
IntelligentQuantum
2022-04-15 16:46:30 +04:30
committed by GitHub
parent ab4ee71762
commit f7760b4ea0
3 changed files with 44 additions and 19 deletions

View File

@@ -3808,25 +3808,6 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex)
m_caster->CastSpell(unitTarget, 22682, true);
return;
}
// Mirren's Drinking Hat
case 29830:
{
uint32 itemId = 23586; // Aerie Peak Pale Ale
switch (urand(0, 5))
{
case 0:
case 1:
case 2:
itemId = 23584;
break; // Loch Modan Lager
case 3:
case 4:
itemId = 23585;
break; // Stouthammer Lite
}
DoCreateItem(effIndex, itemId);
break;
}
case 20589: // Escape artist
case 30918: // Improved Sprint
{