Example #1
0
 public override void OnDead(AttackableUnit source) // we override base
 {
     Stats.Health.Current = 0;
     Stats.Mana.Current   = 0;
     UpdateStats();
     Alive = false;
     Score.DeathCount++;
     Death.OnDead();
     Game.Send(new ChampionDieMessage(500, NetId, source.NetId, Death.TimeLeftSeconds));
     Game.UnitAnnounce(UnitAnnounceEnum.Death, NetId, source.NetId, new uint[0]);
     Client.Send(new ChampionDeathTimerMessage(NetId, Death.TimeLeftSeconds));
     base.OnDead(source);
 }