Core/AreaTriggers: Implement missing functionality

* Scale curves are now taken into account when searching for units inside
* Implemented SpellModOp::Radius for areatrigger radius
* Implemented OverrideMoveCurve updatefields - overrides areatrigger position
* Implemented FacingCurve and AREATRIGGER_FLAG_HAS_ABSOLUTE_ORIENTATION
* Implemented ***Target fields for all shape types
* Fixed facing calculation for areatriggers with spline movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/c676d1477239aec4d0b235a410e5627a7070a86e)
This commit is contained in:
hondacrx
2024-01-30 21:14:55 -05:00
parent 804bc30581
commit 5e46dd951b
6 changed files with 344 additions and 101 deletions
@@ -5,7 +5,7 @@ namespace Framework.Constants
{
public enum AreaTriggerFlags
{
HasAbsoluteOrientation = 0x01, // Nyi
HasAbsoluteOrientation = 0x01,
HasDynamicShape = 0x02, // Implemented For Spheres
HasAttached = 0x04,
HasFaceMovementDir = 0x08,