fix: Fixes targeting checks (#869)
* Adds CanTarget for more granular overrides of specific targeting restrictions * Updates spell targeting * Fixes targeting checks
This commit is contained in:
parent
09a3bc9754
commit
bea20f36a0
33 changed files with 104 additions and 116 deletions
|
|
@ -24,10 +24,7 @@ namespace Server.Spells
|
|||
|
||||
protected override void OnTarget(Mobile from, object o)
|
||||
{
|
||||
if (o is IPoint3D p)
|
||||
{
|
||||
_spell.Target(p);
|
||||
}
|
||||
_spell.Target(o as IPoint3D);
|
||||
}
|
||||
|
||||
protected override void OnTargetOutOfLOS(Mobile from, object o)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue