14 lines
312 B
Python
14 lines
312 B
Python
|
#! 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
|