rome1982
Sorceror
Hello all,thanks in advance for some help,im trying to get evo dragon (not xantos) to dont attack players.The code i use is:
The crash is a client crash not RunUo server,when somebody say "all kill" and target some enemie.
Thank you all.
Code:
public override bool CanBeHarmful( Mobile target, bool message, bool ignoreOurBlessedness )
{
if (target is PlayerMobile) //Check if it's a player. Otherwise, it will attack.
{
return false;
}
return base.CanBeHarmful( target, message, ignoreOurBlessedness );
}
The crash is a client crash not RunUo server,when somebody say "all kill" and target some enemie.
Thank you all.