mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[11326] Script effect of spell 47097 had reversed area condition according to latest spell_target_position data.
This commit is contained in:
parent
96045a86e3
commit
773b98538b
2 changed files with 3 additions and 3 deletions
|
|
@ -6545,9 +6545,9 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
||||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (unitTarget->GetAreaId() == 4156)
|
if (unitTarget->GetAreaId() == 4157)
|
||||||
unitTarget->CastSpell(unitTarget, 47324, true);
|
unitTarget->CastSpell(unitTarget, 47324, true);
|
||||||
else if (unitTarget->GetAreaId() == 4157)
|
else if (unitTarget->GetAreaId() == 4156)
|
||||||
unitTarget->CastSpell(unitTarget, 47325, true);
|
unitTarget->CastSpell(unitTarget, 47325, true);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11325"
|
#define REVISION_NR "11326"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue