示例#1
0
            public InternalTarget(DaggerOfTheRift owner, Mobile defender)
                : base(12, true, TargetFlags.None)
            {
                _owner    = owner;
                _defender = defender;

                CheckLOS = false;
            }
示例#2
0
        public override void OnDoubleClick(Mobile m)
        {
            DaggerOfTheRift dagger = m.FindItemOnLayer(Layer.OneHanded) as DaggerOfTheRift;

            if (dagger == null)
            {
                m.SendMessage("You must have this equipped to use it.");
            }
            else
            {
                RiftSpell spell = new RiftSpell(m, null);
                spell.Cast();
            }
        }
示例#3
0
            public InternalTarget(DaggerOfTheRift owner, Mobile defender)
                : base(12, true, TargetFlags.None)
            {
                _owner = owner;
                _defender = defender;

                CheckLOS = false;
            }