Difficult-Rocket/tests/mod_tick_check.py

20 lines
616 B
Python
Raw Normal View History

2021-09-05 00:50:05 +08:00
# Copyright (c) 2021. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
# Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
# Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
# Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus.
# Vestibulum commodo. Ut rhoncus gravida arcu.
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
github: @shenjackyuanjie
gitee: @shenjackyuanjie
"""
import decorators
@decorators.mod_game.mix_tick('maybe?')
def mixed(game: decorators.MainGame):
game.speed -= 1