Core/Movement: Store adv flying speeds instead of hardcoding them in SMSG_UPDATE_OBJECT and enable packets modifying them

Port From (https://github.com/TrinityCore/TrinityCore/commit/43c7965d6b97a919ddd7e97a1f6e3f5750553f09)
This commit is contained in:
Hondacrx
2024-11-10 18:24:49 -05:00
parent bb76867477
commit be74f514a1
7 changed files with 226 additions and 23 deletions
+22
View File
@@ -112,6 +112,28 @@ namespace Framework.Constants
End
}
public enum AdvFlyingRateTypeSingle
{
AirFriction = 0,
MaxVel = 1,
LiftCoefficient = 2,
DoubleJumpVelMod = 3,
GlideStartMinHeight = 4,
AddImpulseMaxSpeed = 5,
SurfaceFriction = 14,
OverMaxDeceleration = 15,
LaunchSpeedCoefficient = 16,
Max = 17
}
public enum AdvFlyingRateTypeRange
{
BankingRate = 6,
PitchingRateDown = 8,
PitchingRateUp = 10,
TurnVelocityThreshold = 12
}
public enum DamageEffectType
{
Direct = 0, // used for normal weapon damage (not for class abilities or spells)