higps / robogithub

Assymetric gamemode where one team are robots and the other are humans
http://bmod.tf
5 stars 7 forks source link

Robots becoming duplicate if selected on the same frame or reverting from a paid robot #30

Closed higps closed 2 years ago

higps commented 2 years ago

It is possible to have multiple robots of the same type

One is to have them both select on the exact same frame (rare but has happened once)

Example Player 1: Selects Bearded Player 1: Buys a paid robot Player 2: Selects Bearded Player 1: Dies and reverts to bearded

Ideally we want the function that they are set as a random robot if they revert to an existing robot

eisbaer66 commented 2 years ago

in your example you don't want to block others from selecting Bearded, while player 1 is a paid robot? should player 1 always revert to a random robot? or only if his previous robot is already taken / at the limit of how many are allowed?

higps commented 2 years ago

Player 1 should revert to the original robot, if the limit is not full. If the limit is full, you set a random robot instead