fix: Fixes targeting ground with spells (#1937)
This commit is contained in:
parent
4c5947e654
commit
35342e296e
21 changed files with 27 additions and 23 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue