ModernUO/Projects/UOContent/Spells/Targeting/ITargetingSpell.cs
Kamron Batman 6d43f2549c
fix: Adjusts spell ranges to match OSI (#2171)
### Summary

Adjusts spell ranges according to OSI. Specifically, the [April 14, 1999 patch](https://uo.com/wiki/ultima-online-wiki/technical/previous-publishes/1999-2/1999-06-14th-april/) changed spell ranges to 10 tiles, and 15 tiles for fields.
2025-05-01 20:03:56 -07:00

15 lines
365 B
C#

namespace Server.Spells;
public interface IRangedSpell
{
Mobile Caster { get; }
// https://uo.com/wiki/ultima-online-wiki/technical/previous-publishes/1999-2/1999-06-14th-april/
int TargetRange => Core.T2A ? 10 : 12;
void FinishSequence();
}
public interface ITargetingSpell<in T> : IRangedSpell where T : IPoint3D
{
void Target(T target);
}