コード例 #1
0
        public virtual bool AllowBeneficial(Mobile from, Mobile target)
        {
            if (m_Parent != null)
            {
                return(m_Parent.AllowBeneficial(from, target));
            }

            if (Mobile.AllowBeneficialHandler != null)
            {
                return(Mobile.AllowBeneficialHandler(from, target));
            }

            return(true);
        }