Apparently including cmake cache to the build context will take a long time for consecutive builds and causes docker build to spend a long time at `Sending build context to docker daemon (x %)` step.
* Change PlayerStart.AllSpells to .CustomSpells
Remove wrong info regarding the playercreateinfo_spell_custom table. Change the config flags name to match its purpose.
* Update src/server/worldserver/worldserver.conf.dist
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
* Update src/server/game/World/World.cpp
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
* Update src/server/game/World/World.cpp
* fix(DB/Core): Anchorite Truuen
Anchorote Truuen is escorted in quest Tomb of the Lightbringer, but he's
too fast and doesn't aggro on anything.
* Updated using suggestions from @pklloveyou
Co-authored-by: Zoidwaffle <zoidwaffle@gmail.com>
The Scarlet Key from Doan's Strongbox inside Scarlet Monastery Library wing should be lootable by all.
Currently only one can loot and then the respawn is 24 hours.
This fix will make it respawn almost instantly for all to loot.
Reference: https://wowwiki.fandom.com/wiki/The_Scarlet_Key
Co-authored-by: Zoidwaffle <zoidwaffle@gmail.com>
Major Cities were missing Lunar Festival gameobjects and NPCs/Creatures
- Darnassus: Added the entire Festival location (gameobjects/creatures)
- Shattrath: Added both Festival locations (gameobjects/creatures)
- Dalaran: Added the entire Festival location (gameobjects/creatures)
- Silvermoon: Added the entire Festival location (gameobjects/creatures)
- Exodar: Added the entire Festival location (gameobjects/creatures)
- Exodar: Removed New Year's event objects from the Lunar Event (Festive Kegs,
Party Tables, and extra Haybales)
-Removed gameobject 11997 deletion. Doesn't exist
-Added game_event_gameobject cleanup by removing GUIDs 11995 - 12000
of gameobjects that do not exist from Lunar Event.
Npc positioning
Implemented slope check to avoid unwanted climbing for some kind of movements (backwards, repositioning etc.)
Implemented backwards movement
Re-implemented circle repositioning algorithm (smartest than retail, but with the same feeling)
Fixed random position of summoned minions
Improved pet following movement. Also, they attack NPC from behind now. Thanks to @Footman
Swimming creatures
Fixed max_z coordinate for swimming creatures. Now only part of their body is allowed to be out of the water level
Fixed pathfinder for swimming creatures creating shortcuts for specific segments, now they swim underwater to reach the seashore instead of flying above the water level.
Creatures with water InhabitType but no swimming flag now, when not in combat, will walk on water depth instead of swimming. Thanks @jackpoz for the original code
UNIT_FLAG_SWIMMING in UpdateEnvironmentIfNeeded to show the swimming animation correctly when underwater
Implemented HasEnoughWater check to avoid swimming creatures to go where the water level is too low but also to properly enable swimming animation only when a creature has enough water to swim.
Walking creatures
Extended the DetourNavMeshQuery adding area cost based on walkability (slope angle + source height) to find better paths at runtime instead of completely remove them from mmaps
improve Z height in certain conditions (see #4205, #4203, #4247 )
Flying creatures
Rewriting of the hover system
Removed hacks and improved the UpdateEnvironmentIfNeeded. Now creatures can properly switch from flying to walk etc.
Spells
LOS on spell effect must be calculated on CollisionHeight and HitSpherePoint instead of position coords.
Improved position for object/creature spawned via spells
Improved checks for Fleeing movements (fear spells)
Other improvements
Implemented method to calculate the CollisionWidth from dbc (used by repositioning algorithm etc.)
Improved raycast and collision checks
Co-authored-by: Footman <p.alexej@freenet.de>
Co-authored-by: Helias <stefanoborzi32@gmail.com>
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>