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; }
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; } }