spelling-game-python/status.py

14 lines
312 B
Python
Raw Normal View History

2016-11-25 11:01:11 -05:00
#! usr/bin/python3
"status.py"
import spell
def apply(player = spell.Spelling_Player()):
if(player.max_letters != spell.Spelling_Player.LEVEL):
player.max_letters = spell.Spelling_Player.LEVEL
if(player.status & spell.Letter.STATUSES["q"]):
player.max_letters //= 2