Use waypoint_path instead of script_waypoint
use broadcast_text instead of script_text
correct spawns and let creatures move to escort npc
adjust some timers and rp scripts
add some todos
Closes https://github.com/cmangos/mangos-tbc/pull/556
Closes https://github.com/cmangos/issues/issues/2313
Credit: Vmangos for original implementation. Killerwife rewrites for our worldstate system. Mantislord event data. Anon EAI port. Killerwife rest of db data.
* Script NPC 16027 (Living Poison) in SD2 because OOC LoS in ACID as a minimal possible value higher that what is needed (due to model data).
Closes https://github.com/cmangos/issues/issues/2485
* Fixes for Aurius event in Stratholme :
- fix stand state
- fix faction so he can again attack Baron Rivendare
- fix quest display for players that already completed the event once
- fix broadcast text using ID intended to horde NPC
* Fix quest 8736 (The Nightmare Manifests):
- Make Eranikus fly and land properly
- Fix waypoints following escort logic rework
- Fix several relation issues preventing NPC to enter combat and reseting the whole event
- Re-add Classic realm wide emotes
* Refactor code:
- use timers instead of waypoint wait time workaround
- simplify code (less duplicates, unneeded variables...)
* Add missing text yells, says and emotes
* Improve timers
* Various improvements like running and emotes in the right places
Thanks @Grz3s for his help
* Rework Archmage Arugal in Shadowfang Keep:
- Move AI to RangedCombatAI
- Improve and secure teleport logic
- Move possess yell to the correct place
- Remove many helper methods that can now be replaced by more robust core features/methods
- Prevent Arugal's Voidwalker from entering combat on spawn (thanks @Tobschinski)
Timers are probably off though...
* Rework Shadowfang Keep prisoners:
- Remove workaround using duplicate waypoints to time the event
- Use timers instead and adjust timers
- Add missing emotes and remove incorrect ones
- Adjust a few positions and orientations
- Adjust event sequencing
- Remove unneeded code
- Fix despawn and move back to first waypoint
This closes https://github.com/cmangos/mangos-tbc/pull/440 and closes https://github.com/cmangos/wotlk-db/issues/363