Announcement

Collapse
No announcement yet.

OnHit (if player dont doing damage)?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • OnHit (if player dont doing damage)?

    Hello!I was looking for old code to get on an evolution dragon to dont attack players,i remember is on:

    public override voidOnHit( Mobile attacker, Mobile defender )
    But only know this,im looking for code if the creature is doing damage on player,damage is null-0.Thanks in advance!

    I think using public bool CanAttackPlayers { get { return false; } } if i put war status and attack player,creature go attack without say all kill.
    Last edited by Lemke; 12-27-2016, 04:43 PM.
Working...
X