Dangers of the pyton eval() statement
- by LukeP
I am creating a game.
Specifically it is a pokemon battle simulator.
I have an sqlite database of moves in which a row looks something like:
name | type | Power | Accuracy | PP | Description
However, there are some special moves. For said special moves, their damage (and other attributes not shown above, like status effects) may be…