* fix(Core): Rework Database Version Check for MariaDB support
* incorporate "smarter" version comparison
* rename function to be more accurate
* Factor magic numbers into defines. Revise comments
* clean up triple newline
* Doxygenify the docs
* remove blankspace
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
* Init.
Make use of spell for summoning Ahune's lieutenants, set up gossip/smart scripts for the cast and lieutenant summon speech, and remove permanent lieutenant spawns.
Partially cherry-picked from 91268f6631
Co-Authored-By: Xfurry <172444+xfurry@users.noreply.github.com>
* Use GUIDs for creature delete, add game_event_creature delete.
* Various adjustments.
Move comment block, add Desolace stones gossip menu options, add a delete before insert.
* Set up conditions.
* Add spell cast comments.
Sourced from Wrath Classic Wowhead.
* Add basic combat SmartAI.
* Remove comment block.
* Add creature name comments.
* Use `id1` in preparatory creature delete.
---------
Co-authored-by: Xfurry <172444+xfurry@users.noreply.github.com>
* prevent crash on set motd
* updated version
* another version
* Update cs_server.cpp
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
* new hook OnPlayerPreLogout
* Changed PreLogout to BeforeLogout per review
* Renamed OnPlayerBeforeLogout to OnBeforePlayerLogout per review
---------
Co-authored-by: NathanHandley <nathanhandley@protonmail.com>
- this is necessary to correctly spawn creatures within small defines
- 0.42f is as good as 1.0f to detect and correct reasonable z errors
in DB spawn data
* Improve combat movement
- Removed a bunch of logic related to another attempt at fixing combat movement.
- Removed SMART_ACTION_SET_CASTER_COMBAT_DIST and updated smarts scripts accordingly.
- Cherry-picked 7fb7432620
- Cherry-picked 63a6e1e048
Co-Authored-By: Ludovic Barbier <ludovic.barbier03@gmail.com>
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
* Some more cleanup + fix sql
* More fixes to caster chase/combat movement + some cherry picks because why not
- Fix casters always trying to chase to melee range
- Fix casters another case of casters sometimes walking back instead of stopping
- Cleaned up some code
- Cherry picked ca25e8d019
- Cherry picked 96b289cadb
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
* Added parentheses
* Fixed caster combat movement when target is rooted
- Made a few adjustments to chase range and stuff, but nothing set in stone.
* convert uint to int
---------
Co-authored-by: Ludovic Barbier <ludovic.barbier03@gmail.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
The current code only prevents Whitemane from dying before casting sleep, but the players can inflict enough DPS on her before that, that she can die before resurrecting Mograine.
When this happens, the dungeon is broken and cannot progress.