Removes redundant delegate type declarations

This commit is contained in:
Kamron Batman 2018-09-14 14:32:04 -07:00
parent 3c9842ee5a
commit c85b0a740c
317 changed files with 898 additions and 903 deletions

View file

@ -13,7 +13,7 @@ namespace Server.Spells.Ninjitsu
{
public static void Initialize()
{
EventSink.Login += new LoginEventHandler(OnLogin);
EventSink.Login += OnLogin;
}
public static void OnLogin(LoginEventArgs e)
@ -584,7 +584,7 @@ namespace Server.Spells.Ninjitsu
m_Mobile.Freeze(TimeSpan.FromSeconds(1));
m_Mobile.PlaySound(0x16A);
DelayCall<Mobile>(TimeSpan.FromSeconds(1.3), new TimerStateCallback<Mobile>(BreathEffect_Callback), m_LastTarget);
DelayCall<Mobile>(TimeSpan.FromSeconds(1.3), BreathEffect_Callback, m_LastTarget);
}
m_Counter = Math.Min((int)m_Mobile.GetDistanceToSqrt(m_LastTarget), 10);
@ -601,7 +601,7 @@ namespace Server.Spells.Ninjitsu
m_Mobile.PlaySound(0x227);
Effects.SendMovingEffect(m_Mobile, target, 0x36D4, 5, 0, false, false, 0, 0);
DelayCall<Mobile>(TimeSpan.FromSeconds(1), new TimerStateCallback<Mobile>(BreathDamage_Callback), target);
DelayCall<Mobile>(TimeSpan.FromSeconds(1), BreathDamage_Callback, target);
}
}