Script/Quest: Improvements for quest Corrosion Prevention (27347): (#…

…17385)

- Energized! spell should target only the caster and any player around.
- Prevent trigger from gaining threat from beneficial spell casts, getting stuck in a "gaining threat but cannot attack, reset" situation.
- The Power Core Fragment near the zeppelin crash should always be active.
This commit is contained in:
Aokromes
2016-07-20 18:09:14 +02:00
parent 09b34b64e5
commit 2102f40f4b

View File

@@ -3359,6 +3359,9 @@ void SpellMgr::LoadSpellInfoCorrections()
case 8983: // Druid - Bash - R3
spellInfo->AttributesEx7 |= SPELL_ATTR7_INTERRUPT_ONLY_NONPLAYER;
break;
case 42490: // Energized!
case 42492: // Cast Energized
spellInfo->AttributesEx |= SPELL_ATTR1_NO_THREAT;
case 85123: // Siege Cannon (Tol Barad)
spellInfo->Effects[EFFECT_0].RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_200_YARDS);
spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_UNIT_SRC_AREA_ENTRY);