### 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
131 B
C#
6 lines
131 B
C#
namespace Server.Spells;
|
|
|
|
public interface IRecallSpell : IRangedSpell
|
|
{
|
|
void Effect(Point3D loc, Map map, bool checkMulti);
|
|
}
|