Spaces:
Runtime error
Runtime error
Download parse_skill.py from AngoHF/Formulator: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/spaces/AngoHF/Formulator/resolve/main/parse_skill.py
- Command line
-
hf download hf://spaces/AngoHF/Formulator/parse_skill.py
-
curl -L -o parse_skill.py https://huggingface.co/spaces/AngoHF/Formulator/resolve/main/parse_skill.py
263 Bytes
| from utils.lua import parse_player | |
| lua = """ | |
| """ | |
| result = parse_player(lua) | |
| damage_base = [row['nDamageBase'] for row in result] | |
| print(f'"damage_base": {damage_base},') | |
| damage_rand = [row['nDamageRand'] for row in result] | |
| print(f'"damage_rand": {damage_rand},') | |