fix: Fixes targeting ground with spells (#1937)

This commit is contained in:
Kamron Batman 2024-08-20 15:51:33 -07:00 • committed by GitHub
parent 4c5947e654
commit 35342e296e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 27 additions and 23 deletions

View file

@ -58,7 +58,7 @@ namespace Server.Spells.Sixth
public override void OnCast()
{
Caster.Target = new SpellTarget<IPoint3D>(this);
Caster.Target = new SpellTarget<IPoint3D>(this, allowGround: true);
}
}
}

View file

@ -71,7 +71,7 @@ public class ParalyzeFieldSpell : MagerySpell, ITargetingSpell<IPoint3D>
public override void OnCast()
{
Caster.Target = new SpellTarget<IPoint3D>(this);
Caster.Target = new SpellTarget<IPoint3D>(this, allowGround: true);
}
}

View file

@ -55,7 +55,7 @@ namespace Server.Spells.Sixth
public override void OnCast()
{
Caster.Target = new SpellTarget<IPoint3D>(this);
Caster.Target = new SpellTarget<IPoint3D>(this, allowGround: true);
}
// Reveal uses magery and detect hidden vs. hide and stealth