Server.Mobiles.BaseCreature.OnGotMeleeAttack C# (CSharp) 메소드

OnGotMeleeAttack() 공개 메소드

public OnGotMeleeAttack ( Mobile attacker ) : void
attacker Mobile
리턴 void
        public virtual void OnGotMeleeAttack( Mobile attacker )
        {
            if ( AutoDispel && attacker is BaseCreature && ((BaseCreature)attacker).IsDispellable && AutoDispelChance > Utility.RandomDouble() )
                Dispel( attacker );
        }
BaseCreature