Core/Creatures: Compute CombatReach and BoundingRadius using DisplayScale
Port From (https://github.com/TrinityCore/TrinityCore/commit/81ea6f54d93ee10b03e6432c6071e0d0983796a2)
This commit is contained in:
@@ -223,6 +223,7 @@ namespace Framework.Constants
|
||||
public const float DefaultPlayerBoundingRadius = 0.388999998569489f; // player size, also currently used (correctly?) for any non Unit world objects
|
||||
public const float AttackDistance = 5.0f;
|
||||
public const float DefaultPlayerCombatReach = 1.5f;
|
||||
public const float DefaultPlayerDisplayScale = 1.0f;
|
||||
public const float MinMeleeReach = 2.0f;
|
||||
public const float NominalMeleeRange = 5.0f;
|
||||
public const float MeleeRange = NominalMeleeRange - MinMeleeReach * 2; //center to center for players
|
||||
|
||||
Reference in New Issue
Block a user