def METHOD_NAME(self, killer, type, grenade):
    was_rampaging = self.rampage
    if self.rampage:
        self.end_rampage()
    if killer is not None and killer is not self:
        if was_rampaging and ANNOUNCE_RAMPAGE:
            message = S_RAMPAGE_KILLED.format(victim=self.name,
                                              killer=killer.name)
            self.protocol.broadcast_chat(message, global_message=None)
        if (not killer.rampage and killer.hp and
            killer.team is not self.team and
                (GRENADE_KILLS_COUNT or type != GRENADE_KILL)):
            now = seconds()
            killer.rampage_kills.append(now)
            if (len(killer.rampage_kills) == KILL_REQUIREMENT and
                    killer.rampage_kills[0] >= now - TIME_REQUIREMENT):
                killer.start_rampage()
    return connection.METHOD_NAME(self, killer, type, grenade)