This commit is contained in:
mark 2009-07-05 04:03:37 +00:00
parent 879e2fc778
commit f2b9f04620
29 changed files with 62 additions and 55 deletions

View file

@ -42,7 +42,7 @@ namespace Server.Spells.Necromancy
{
List<Mobile> targets = new List<Mobile>();
foreach ( Mobile m in Caster.GetMobilesInRange( 5 ) )
foreach ( Mobile m in Caster.GetMobilesInRange( Core.ML ? 4 : 5 ) )
if ( Caster != m && Caster.InLOS( m ) && SpellHelper.ValidIndirectTarget( Caster, m ) && Caster.CanBeHarmful( m, false ) )
targets.Add( m );