diff options
author | QAston <none@none> | 2010-02-04 18:34:46 +0100 |
---|---|---|
committer | QAston <none@none> | 2010-02-04 18:34:46 +0100 |
commit | 3df5bb041c84b184bd347e9c156ebdcdcedfc4aa (patch) | |
tree | a264df55b095b03083c34be3b369f29714e2b73d /src/game/SpellMgr.cpp | |
parent | 61cc641384fc863b4b781866d8a687f0b4b7fcb1 (diff) |
*Way more correct way of selecting caster and target for Periodic Trigger auras.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r-- | src/game/SpellMgr.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 3f01630a590..48d1d325ad2 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -3725,12 +3725,14 @@ void SpellMgr::LoadSpellCustomAttr() break; case 62374: // Pursued spellInfo->MaxAffectedTargets = 1; - spellInfo->EffectImplicitTargetB[0] = TARGET_UNIT_AREA_ENTRY_SRC; - spellInfo->EffectImplicitTargetB[1] = TARGET_UNIT_AREA_ENTRY_SRC; count++; break; - case 13810: // Frost Trap Aura - spellInfo->Effect[1] = 0; + // target allys instead of enemies, target A is src_caster, spells with effect like that have ally target + // this is the only known exception, probably just wrong data + case SPELL_WRATH_OF_THE_PLAGUEBRINGER_29214: // Wrath of the Plaguebringer + case SPELL_WRATH_OF_THE_PLAGUEBRINGER_54836: // Wrath of the Plaguebringer + spellInfo->EffectImplicitTargetB[0] = TARGET_UNIT_AREA_ALLY_SRC; + spellInfo->EffectImplicitTargetB[1] = TARGET_UNIT_AREA_ALLY_SRC; count++; break; default: |