Ask coding questions

← Back to all posts
Globals? Locals? wut
LukeShomper (49)

Globals? Locals? ;-; what
All I want is the Attack var to link with the others and have the same value

LeonDoesCode (371)

One thing to change it the null into None as null is not a Python thing. Also global and local variables don't seem to be your problem as the Attack variable is placed on the root (that doesn't seem like the right word to use here) of your file.