The way powerups should be implemented is as follows:
- The powerups models is populated by calling the powerups initializer under the admin route with the values for points and number of uses per team.
- Once a powerup is used, it will be added to
UsedPowerups with reference to the team, target, time of usage, duration.
- Individual powerups should be implemented as functions that can be called depending on user request.
Refer: https://github.com/lugvitc/pwncore/tree/powerups
PowerupsmodelUsedPowerupsmodelThe way powerups should be implemented is as follows:
UsedPowerupswith reference to the team, target, time of usage, duration.Refer: https://github.com/lugvitc/pwncore/tree/powerups