We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fadd9f commit 155217cCopy full SHA for 155217c
src/game/Spells/SpellMgr.cpp
@@ -1914,6 +1914,12 @@ void SpellMgr::LoadSpellScriptTarget()
1914
bool targetfound = false;
1915
for (int i = 0; i < MAX_EFFECT_INDEX; ++i)
1916
{
1917
+ if (spellProto->Effect[i] == SPELL_EFFECT_PERSISTENT_AREA_AURA) // always scriptable
1918
+ {
1919
+ targetfound = true;
1920
+ break;
1921
+ }
1922
+
1923
if (spellProto->EffectImplicitTargetA[i] == TARGET_UNIT_SCRIPT_NEAR_CASTER ||
1924
spellProto->EffectImplicitTargetB[i] == TARGET_UNIT_SCRIPT_NEAR_CASTER ||
1925
spellProto->EffectImplicitTargetA[i] == TARGET_LOCATION_SCRIPT_NEAR_CASTER ||
0 commit comments