mirror of
https://github.com/modernuo/ModernUO
synced 2026-08-11 22:23:06 -04:00
### 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
6 lines
123 B
C#
6 lines
123 B
C#
namespace Server.Spells;
|
|
|
|
public interface ISpellTarget<in T> where T : IPoint3D
|
|
{
|
|
ITargetingSpell<T> Spell { get; }
|
|
}
|