* Add command to apply aura.
* Add condition for no path to victim.
* Add Is Player condition.
* Database scripts and fixes.
* Improve GuardAI.
* Implement GuardEventAI.
* Mark faction as At War in client on aggro.
* Fix instance reset message.
* Reimplement invisability for Shade of Jindo.
* Cleanup ancient methods.
* Sync At War flag.
* Fix aura for Drunken Bruiser.
* Add LoS check.
* Improve creature dynamic respawn
- Now check indoors
- Now allow on elites
- Properly use minimums
- Prevent dynamic respawns near players on an escort quest
* Additional escort status cleanup
* Properly cap reduction rate
Only adjust elite min if it is less than the default minimum. Indoor still takes prio
* Remove unneeded comments
* Properly go to 0 delay if appropriate
* Implement creature spells system.
* Tabs to spaces.
* Use creature spells for Varimathas and Defias Pillager.
* Try to fix linux compile.
* Some refactoring.
* Add EventAI command to set creature_spells template.
* Correct undercity.cpp comments.
* Add command to reload table.
* GetPatchName should not be static.
* Add missing const.
* Missing Diplomat: Enhanced Edition.
Missing Diplomat id: 1447:
Complete event rework featuring:
- A new mechanics for thugs.
* Their spawn positions have been corrected.
* Implemented a cutscene when Dashel has been defeated and thugs stayed alive.
* "Ok Boss!" placeholder was replaced with 2 blizzlike texts.
* Fixed a bug with an incorrect despawn.
* Thugs will now focus player who started a quest event and will not put other players nearby into a combat mode.
* Thugs will now use a correct "attack" animation instead of switching to "stand" after each hit.
- Fixed some spelling errors in existing texts.
- Fixed a bug when Dashel sometimes get stuck in combat mode.
Missing Diplomat id: 1324:
- A new text quote for Hendel's friends.
- Fixed some spelling errors in existing texts.
- Added a visual effect for the Teleport spell used by Tervosh on Private Hendel.
- Fixed an inconsistent behavior, when a Private Hendel has been defeated, allies have not yet arrived and a random creature started to attack him.
Missing Diplomat id: 1265:
Full quest event implementation.
- A new quest area-trigger. 1667 instead of 330.
- Tervosh will now appear, once player enters a Sentry Point tower. All guards inside will salute him.
- Tervosh will will buff players with Proudmoore's Defense on quest complete.
- Many rare cases for high population has been resolved(i.e many players are doing this quest at the same time).
Missing Diplomat id:1249:
Complete event rework featuring:
- Detail emotes for quest text.
- Tapoke "Slim" Jahn now uses a correct stealth spell with 8 sec duration.
- A waypoint path for Tapoke "Slim" Jahn has been reworked completely.
- Tapoke "Slim" Jahn has learned a new ability: Pummel.
- Implemented a Mikhail's gossip script. His gossip behavior is very different from other NPCs in a game and consists of 3 states, but only 1 is active at a time, depending on a player's quest status.
* Gossip: A special gossip text for players trying to start a quest event if Tapoke Slim Jahn is unavailable(event was started, he is dead or pulled away from the inn).
* Quest: Other Missing diplomat quests or event q:1249 is ready to start.
* Nothing: No quests, no gossip.
- Implemented a Slim's friend behavior. He will continue to help Tapoke "Slim" Jahn after enemy Vanish, Feign Death, etc.
- Fixed a critical issue with respawn timer. It was 2 seconds after the first player completed this event.
- Quest will also fail if Tapoke "Slim" Jahn ran away from player/group range.
- Fixed an inconsistent behavior when Tapoke "Slim" Jahn was attacked by player from the opposite faction, during the event.
Misc:
- Fixed an issue when: if (uiDamage > m_creature->GetHealth() || m_creature->GetHealthPercent() < 20.0f) fails and NPC dies if multiple harmful spells land on the target at the same time.
npc_escortAI API:
- Added a method to turn on/off pathfinding between waypoints.
- Added a method to control a delay before the first waypoint. Hardcoded value (2500ms) is too high for some quests.
* Added some missing data.
* Added some missing data. Part 2.
* Implemented Player::GroupEventFailHappens for when a group event (such as an escort) fails
* ScriptedEscortAI now makes use of Player::GroupEventFailHappens rather than re-implementing it
* Refactored BRD escorts to use Player::GroupEvent methods to inform success and failure. Commander Gor'shak now correctly rewards the whole group