コード例 #1
0
ファイル: KnightsNorseHelm.cs プロジェクト: nogu3ira/xrunuo
        public override void OnRemoved(object parent)
        {
            base.OnRemoved(parent);

            if (parent is Mobile)
            {
                KnightsSet.RemoveBonus(parent as Mobile);
            }
        }
コード例 #2
0
ファイル: KnightsNorseHelm.cs プロジェクト: nogu3ira/xrunuo
        public override void OnAdded(object parent)
        {
            base.OnAdded(parent);

            if (parent is Mobile)
            {
                if (KnightsSet.FullSet(parent as Mobile))
                {
                    KnightsSet.ApplyBonus(parent as Mobile);
                }
            }
        }
コード例 #3
0
ファイル: KnightsNorseHelm.cs プロジェクト: nogu3ira/xrunuo
 public override void GetSetArmorPropertiesSecond(ObjectPropertyList list)
 {
     KnightsSet.GetPropertiesSecond(list, this);
 }