modernuo/Projects/UOContent/Spells/Targeting/ISpellTarget.cs
Kamron Batman 9b7fea2c20
fix: Magic NPCs now use spell range (#1870)
### Summary
- Drastically streamlines the spell targeting by collapsing the target classes into a single `SpellTarget<T>` class.
- Moves TargetRange to the spell itself so it can be used by MageAI.
- Changes range check in MageAI to use TargetRange. This should fix target acquisition bugs
2024-08-08 07:05:27 -07:00

6 lines
123 B
C#

namespace Server.Spells;
public interface ISpellTarget<in T> where T : IPoint3D
{
ITargetingSpell<T> Spell { get; }
}