Core/Spells: Increase search radius for avoid problems with some spells that can't find units with huge combat reach

Port From (https://github.com/TrinityCore/TrinityCore/commit/b52ce8e65e8998df1b243b854129d359ee2d25ae)
This commit is contained in:
hondacrx
2022-06-15 16:09:33 -04:00
parent f91230ae33
commit 0224d95b91
4 changed files with 12 additions and 4 deletions
@@ -241,6 +241,7 @@ namespace Framework.Constants
public const float MinMeleeReach = 2.0f;
public const float NominalMeleeRange = 5.0f;
public const float MeleeRange = NominalMeleeRange - MinMeleeReach * 2; //center to center for players
public const float ExtraCellSearchRadius = 40.0f; // We need in some cases increase search radius. Allow to find creatures with huge combat reach in a different nearby cell.
public const float InspectDistance = 28.0f;
public const float ContactDistance = 0.5f;
public const float InteractionDistance = 5.0f;