示例#1
0
文件: main.py 项目: Anavros/dungeon
def step_fight(character, monster):
    char = character.copy()
    mons = monster.copy()
    if crunch.first_moves_first(char, mons):
        mons = crunch.damage(mons, char)
        char = crunch.damage(char, mons)
    else:
        mons = crunch.damage(mons, char)
        char = crunch.damage(char, mons)

    return (char, mons)