コード例 #1
0
ファイル: GlacialStaff.cs プロジェクト: suiy187/runuocustom
		public override void OnSpeech( SpeechEventArgs e )
		{
			base.OnSpeech( e );

			if ( e.Mobile.FindItemOnLayer( Layer.TwoHanded ) != this )
				return;

			string said = e.Speech.ToLower();

			if ( said == "an ex del" && m_Limit != 0 )
				m_StaffEffect = GlacialStaffEffect.Freeze;
			else if ( said == "in corp del" && m_Limit != 1 )
				m_StaffEffect = GlacialStaffEffect.IceStrike;
			else if ( said == "des corp del" && m_Limit != 2 )
				m_StaffEffect = GlacialStaffEffect.IceBall;
		}
コード例 #2
0
ファイル: GlacialStaff.cs プロジェクト: Drake1187/runuocustom
        public override void OnSpeech(SpeechEventArgs e)
        {
            base.OnSpeech(e);

            if (e.Mobile.FindItemOnLayer(Layer.TwoHanded) != this)
            {
                return;
            }

            string said = e.Speech.ToLower();

            if (said == "an ex del" && m_Limit != 0)
            {
                m_StaffEffect = GlacialStaffEffect.Freeze;
            }
            else if (said == "in corp del" && m_Limit != 1)
            {
                m_StaffEffect = GlacialStaffEffect.IceStrike;
            }
            else if (said == "des corp del" && m_Limit != 2)
            {
                m_StaffEffect = GlacialStaffEffect.IceBall;
            }
        }