fix: Adds GetDistanceToSqrt for Point3D and centralizes all the calls (#2233)
This commit is contained in:
parent
2086e9b292
commit
416e1be735
8 changed files with 56 additions and 39 deletions
|
|
@ -86,7 +86,7 @@ public partial class SummonedPaladin : BaseCreature
|
|||
|
||||
Timer.StartTimer(TimeSpan.FromSeconds(5.0), Delete);
|
||||
}
|
||||
else if (_necromancer.Map != Map || GetDistanceToSqrt(_necromancer) > RangePerception + 1)
|
||||
else if (_necromancer.Map != Map || this.GetDistanceToSqrt(_necromancer) > RangePerception + 1)
|
||||
{
|
||||
Effects.SendLocationParticles(
|
||||
EffectItem.Create(Location, Map, EffectItem.DefaultDuration),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue