public override void OnSpeech(SpeechEventArgs e)
{
if (SpeechLog.Enabled && NetState != null)
{
if (m_SpeechLog == null)
{
m_SpeechLog = new SpeechLog();
}
m_SpeechLog.Add(e.Mobile, e.Speech);
}
//Added section
if (e.Mobile.Spell != null)
{
DoFizzle();
}
//
}
public override void OnSpeech( SpeechEventArgs e )
{
if ( SpeechLog.Enabled && NetState != null )
{
if ( m_SpeechLog == null )
m_SpeechLog = new SpeechLog();
m_SpeechLog.Add( e.Mobile, e.Speech );
}
//Added section spell fizzle
if (e.Mobile.Spell != null)
{
DoFizzle();
}
//
}
if (e.Mobile.Spell != null && e.Mobile.Spell.IsCasting)
{
((Spell) Spell).DoFizzle();
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.