Advertisement
Guest User

ondeath

a guest
Feb 26th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.45 KB | None | 0 0
  1.  base.OnDeath(e);
  2.             SendDeathMessageToAll(e.Killer, this, e.DeathReason);
  3.             if(e.Killer.Id != InvalidId)
  4.             {
  5.                 Player killer = (Player)e.Killer;
  6.                 if (killer.Id != Player.InvalidId)
  7.                 {
  8.                     if (killer.Attraction == AttractionTypes.Attraction_WG)
  9.                     {
  10.                         killer.wgKills++;
  11.                     }
  12.                 }
  13.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement