private void OnBeforeStatChangedEvent(StatChangedEventArgs e)
 {
     EventHandler<StatChangedEventArgs> handler = this.RaiseBeforeStatChangedEvent;
     if (handler != null)
     {
         handler(this, e);
     }
 }
 public void Send(object sender, StatChangedEventArgs e)
 {
     if (!((Character)((ClassStat)sender).Parent).DoNotDoTimers)
     {
         if (e.Stat.SendBaseValue)
         {
             Stat.Send(((Character)e.Stat.Parent).Client, e.Stat.StatNumber, e.NewValue, e.AnnounceToPlayfield);
         }
         else
         {
             Stat.Send(((Character)e.Stat.Parent).Client, e.Stat.StatNumber, e.NewValue, e.AnnounceToPlayfield);
         }
         e.Stat.Changed = false;
     }
 }