Server.Mobiles.BaseCreature.CheckPoisonImmunity C# (CSharp) Method

CheckPoisonImmunity() public method

public CheckPoisonImmunity ( Server.Mobile from, Poison poison ) : bool
from Server.Mobile
poison Server.Poison
return bool
        public override bool CheckPoisonImmunity( Mobile from, Poison poison )
        {
            if ( base.CheckPoisonImmunity( from, poison ) )
                return true;

            Poison p = this.PoisonImmune;

            return ( p != null && p.Level >= poison.Level );
        }
BaseCreature