public InternalTarget(DaggerOfTheRift owner, Mobile defender) : base(12, true, TargetFlags.None) { _owner = owner; _defender = defender; CheckLOS = false; }
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(); } }