This commit is contained in:
parent
49bf72207b
commit
7e03093d14
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ namespace Server.Spells.Necromancy
|
|||
targets.Add( m );
|
||||
|
||||
foreach( Mobile targ in m.GetMobilesInRange( 2 ) )
|
||||
if(Caster is BaseCreature && targ is BaseCreature && !((BaseCreature)targ).Controlled && !((BaseCreature)targ).Summoned )
|
||||
if(!(Caster is BaseCreature && targ is BaseCreature ))
|
||||
if( ( targ != Caster && m != targ ) && ( SpellHelper.ValidIndirectTarget( Caster, targ ) && Caster.CanBeHarmful( targ, false) ) )
|
||||
targets.Add( targ );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue