woops on my part. ninjaweps and spellhelper multi checks.

This commit is contained in:
xavier 2011-01-23 14:33:58 +00:00
parent b56f20b39f
commit 07e45156e5
5 changed files with 15 additions and 12 deletions

View file

@ -77,7 +77,7 @@ namespace Server.Spells.Ninjitsu
{
Caster.SendLocalizedMessage( 502831 ); // Cannot teleport to that spot.
}
else if (SpellHelper.CheckMulti( Caster.Location, Caster.Map, true, 5 ))
else if ( SpellHelper.CheckMulti( new Point3D( p ), map, true, 5 ) )
{
Caster.SendLocalizedMessage( 502831 ); // Cannot teleport to that spot.
}