These spells handle player click on flag for battleground and outdoor pvp scripts
Signed-off-by: Xfurry <xfurry.cmangos@outlook.com>
(based on cmangos/mangos-wotlk@99db19bc6)
* Rework Dark Glare in C'Thun encounter in Temple of Ahn'Qiraj :
- use Spell Script
- Move it to boss script
- Fix spell by preventing conflicting NPC orientation instructions
> Patch 2.3.0 (2007-11-13):
> Misdirection: This spell will now always be removed correctly if multiple Hunters overwrite each other’s Misdirection.
> Misdirection: If a Hunter attempts to use this ability on a target which already has an active Misdirection, the spell will fail to apply due to a more powerful spell already being in effect.
Implementation notes:
* Dummy script will make sure Misderection buff is unique per target and will compete for single buff slot
* Spell script will prevent casting Misderection buff on a Hunter who is misdirecting at the moment
> Patch 1.10.2 (2006-05-02):
> Arcane Power: This aura will no longer stack with Power Infusion. If you use it, Arcane Power's aura will replace Power Infusion's aura.
> Power Infusion: This aura will no longer stack with Arcane Power. If you attempt to cast it on someone with Arcane Power, the spell will fail.
Implementation notes:
* These spells have no auras in common, so aura comparision is not used
* Dedicated spell specific will make sure these spells are unique per target, they will compete for single buff slot
* Spell script will prevent Power Infusion from being casted on a target when Arcane Power buff is present
* Rework and/or add phase 2 and 3 of Kel'Thuzad encounter in Naxxramas:
- Remove unused emotes (added in WotLK)
- Fix many timers
- Fix some targets in Kel'Thuzad abilities
- Fix Frost Blast
- Implement Chains of Kel'Thuzad (group mind control)
- Properly summon adds in phase 3
- Add Blood Tap ability for Guardian of Icecrown in phase 3
- Add dispell for Kel'Thuzad in phase 3 if more than 3 Guardians of Icecrown are crowd controlled
- Fix and add emotes
* Fix spell 27808 (Frost Blast) used by Kel'Thuzad in Naxxramas. Triggered spell requires the original aura caster (Kel'Thuzad) as caster and not the targetted player.
* Full rework of Kel'Thuzad phase 1 in Naxxramas:
- Remove WotLK emote
- Use proper spells for summoning and spell logic
- Improve timers so that adds come more and more quickly, as they should
- Add visual effects on channeling
- Improve intro and encounter start flavour by adding and activating missing GO and spawning initial adds in three waves
- Initiate encounter through dedicated area trigger and not through LoS
- Change Kel'Thuzad combat start (he does not aggro until phase 2)
- Move almost all phase 1 control to the related periodic aura
- Fix adds AI: only those periodically summoned should aggro on spawn
Important note: Timers for periodic summon auras are guesswork based on severals original videos as WotLK sniffs are of no use here. Basic statistic analysis were used to define these timers but there are other solutions to that same mathematical problems. It is also possible (though unlikely) that auras stacks at some point instead of replacing each other. We will need Classic sniffs when available to improve this.