public virtual bool AllowHarmful(Mobile from, Mobile target) { if (m_Parent != null) { return(m_Parent.AllowHarmful(from, target)); } if (Mobile.AllowHarmfulHandler != null) { return(Mobile.AllowHarmfulHandler(from, target)); } return(true); }
public virtual bool AllowHarmful(Mobile from, IDamageable target) { if (m_Parent != null) { return m_Parent.AllowHarmful(from, target); } if (Mobile.AllowHarmfulHandler != null) { return Mobile.AllowHarmfulHandler(from, target); } return true; }