Started to implement punish()
This commit is contained in:
@ -124,3 +124,15 @@ class Game:
|
|||||||
self._haltUpdate = haltUpdate
|
self._haltUpdate = haltUpdate
|
||||||
self._haltEvents = haltEvents
|
self._haltEvents = haltEvents
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
def punish(self, player, intensity: float):
|
||||||
|
"""
|
||||||
|
Handles punishing players for most games.
|
||||||
|
Handles games preferences on PDO order?
|
||||||
|
Handles auto popups for messaged events.
|
||||||
|
|
||||||
|
Args:
|
||||||
|
player (NoPELib.Player): The player to punish.
|
||||||
|
intensity (float): The intensity to punish the player.
|
||||||
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user