Example #1
0
        protected virtual void Frag(Player killer, Player victim, Projectile p)
        {
            killer.Frags++;
            victim.Deaths++;

            Announce(killer.Name + " killed " + victim.Name + " with " + p.GetType().Name);

            if (FragLimit > 0 && killer.Frags >= FragLimit)
            {
                FragLimitHit(killer);
            }
        }
Example #2
0
 protected void TeamKill(Player killer, Player victim, Projectile p)
 {
     Announce(killer.Name + " teamkilled " + victim.Name + " with " + p.GetType().Name);
     Teams[killer.Team].Score--;
 }