[11326] Script effect of spell 47097 had reversed area condition according to latest spell_target_position data.

This commit is contained in:
Lynx3d 2011-04-08 03:22:20 +02:00
parent 96045a86e3
commit 773b98538b
2 changed files with 3 additions and 3 deletions

View file

@ -6545,9 +6545,9 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
return;
if (unitTarget->GetAreaId() == 4156)
if (unitTarget->GetAreaId() == 4157)
unitTarget->CastSpell(unitTarget, 47324, true);
else if (unitTarget->GetAreaId() == 4157)
else if (unitTarget->GetAreaId() == 4156)
unitTarget->CastSpell(unitTarget, 47325, true);
break;