This commit is contained in:
parent
879e2fc778
commit
f2b9f04620
29 changed files with 62 additions and 55 deletions
|
|
@ -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 );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue