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

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

            if (parent is Mobile)
            {
                if (MarksmanSet.FullSet(parent as Mobile))
                {
                    MarksmanSet.ApplyBonus(parent as Mobile);
                }
            }
        }
コード例 #3
0
 public override void GetSetArmorPropertiesSecond(ObjectPropertyList list)
 {
     MarksmanSet.GetPropertiesSecond(list, this);
 }