Scripts/ScarletEnclave: ported several fixes from 335

This commit is contained in:
Ovahlord
2020-06-14 00:40:39 +02:00
parent adf9e6a004
commit 893b80d0c4
4 changed files with 461 additions and 436 deletions

View File

@@ -3247,10 +3247,6 @@ void Spell::EffectScriptEffect(SpellEffIndex effIndex)
if (unitTarget->GetTypeId() == TYPEID_UNIT && unitTarget->IsSummon())
unitTarget->ToTempSummon()->UnSummon();
return;
case 52479: // Gift of the Harvester
if (unitTarget && m_originalCaster)
m_originalCaster->CastSpell(unitTarget, urand(0, 1) ? damage : 52505, true);
return;
case 53110: // Devour Humanoid
if (unitTarget)
unitTarget->CastSpell(m_caster, damage, true);