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
This commit is contained in:
parent
91e37fb8d4
commit
9b7fea2c20
85 changed files with 255 additions and 313 deletions
|
|
@ -1,9 +1,6 @@
|
|||
namespace Server.Spells
|
||||
namespace Server.Spells;
|
||||
|
||||
public interface IRecallSpell : IRangedSpell
|
||||
{
|
||||
public interface IRecallSpell
|
||||
{
|
||||
Mobile Caster { get; }
|
||||
void Effect(Point3D loc, Map map, bool checkMulti);
|
||||
void FinishSequence();
|
||||
}
|
||||
void Effect(Point3D loc, Map map, bool checkMulti);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue