Please organise the data better. It'll make future development so much easier.
Use classes for weapons and charms.
Don't use other imported file variables to hold values relevant to the current run. (you're using the imported files like you should use classes)
Also, avoid the heavy recursive function calling. Use a proper game loop, don't just call the same function over and over every new enemy, it could easily lead to weird and difficult to manage errors.
I can help with python classes and implementing them into the code, just don't use an imported file. (if not classes at least make some special dictionaries with functions and constant/regulated keys depending on the data needed)
Also ADD COMMENTS! It can be hard to follow with the excessive recursion, and your desired results must be guessed without them.
Please organise the data better. It'll make future development so much easier. Use classes for weapons and charms. Don't use other imported file variables to hold values relevant to the current run. (you're using the imported files like you should use classes) Also, avoid the heavy recursive function calling. Use a proper game loop, don't just call the same function over and over every new enemy, it could easily lead to weird and difficult to manage errors. I can help with python classes and implementing them into the code, just don't use an imported file. (if not classes at least make some special dictionaries with functions and constant/regulated keys depending on the data needed) Also ADD COMMENTS! It can be hard to follow with the excessive recursion, and your desired results must be guessed without them.