コード例 #1
0
		public override void OnDoubleClick(Mobile from)
		{
			if (Owner != null && from != Owner)
			{ from.SendMessage( SkillSettings.NotYoursMessage ); return; }
			TMSkillSession session = new TMSkillSession(from, this);
			session.Start();
		}
コード例 #2
0
		public override void OnDoubleClick(Mobile from)
		{
			if (TicketRequired && !HasSkillTicket(from))
			{ from.SendMessage(SkillSettings.NoTicketMessage); return; }

			TMSkillSession session = new TMSkillSession(from, this);
			session.Start();			
		}
コード例 #3
0
ファイル: SkillBalls.cs プロジェクト: Orion321/unknown-shard
        public override void OnDoubleClick(Mobile from)
        {
            if (Owner != null && from != Owner)
            {
                from.SendMessage(SkillSettings.NotYoursMessage); return;
            }
            TMSkillSession session = new TMSkillSession(from, this);

            session.Start();
        }
コード例 #4
0
        public static void SkillSession_OnCommand(CommandEventArgs e)
        {
            BaseTMSkillItem item = new BaseTMSkillItem(0xedd);

            item.Profile = (SuperSkillProfile)SkillProfileHelper.getProfile("defaultInternal");
            item.Skin    = CCSkinName;
            TMSkillSession session = new TMSkillSession(e.Mobile, item);

            session.Start();
        }
コード例 #5
0
        public override void OnDoubleClick(Mobile from)
        {
            TMSkillSession session = new TMSkillSession(from, this);

            session.Start();
        }
コード例 #6
0
		public override void OnDoubleClick(Mobile from)
		{
			TMSkillSession session = new TMSkillSession(from, this);
			session.Start();
		}
コード例 #7
0
		public static void SkillSession_OnCommand(CommandEventArgs e)
		{
			BaseTMSkillItem item = new BaseTMSkillItem( 0xedd );
			item.Profile = (SuperSkillProfile)SkillProfileHelper.getProfile("defaultInternal");
			item.Skin = CCSkinName;
			TMSkillSession session = new TMSkillSession( e.Mobile, item );
			session.Start();
		}