Hello guys!Im trying to do my creature cant do damage to players,with this code:

public bool CanAttackPlayers { get { return false; } }

But if i have war mode on,and double click other player,the creature goes to attack him.
I remember there is some code using the OnHit method,if target is Player mobile damage = 0
But cant remember the line,some one have any idea?Sorry for the bad info about the method and thank you so much in advance.
 
Back