Exemplo n.º 1
0
		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;
		}
Exemplo n.º 2
0
        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;
            }
        }