Ask coding questions

← Back to all posts
No Attribute
STO0117

Can someone help me out, I am trying to homebrew a battle system for a text adventure I'm working on but I can't seem to resolve this glitch (I've tried renaming the attribute)

Voters
STO0117
Comments
hotnewtop
Spacecraft

The setStat function in battle.py is indented to be within the start function. Move setStat out of the start function and it should work:

mesquite2234

Unindent the setStat function