diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-03-19 00:08:58 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-03-19 00:08:58 -0300 |
commit | e0207737d2827ae7a0ad526148b39caee38ed494 (patch) | |
tree | 8082e9dcb6fb5426e7610aecefe4b398fe736a3c /wiki/wikigen.py | |
parent | 87f14b13db50d9216c71a389b5ce4274bb564d59 (diff) | |
download | tools-e0207737d2827ae7a0ad526148b39caee38ed494.tar.gz tools-e0207737d2827ae7a0ad526148b39caee38ed494.tar.bz2 tools-e0207737d2827ae7a0ad526148b39caee38ed494.tar.xz tools-e0207737d2827ae7a0ad526148b39caee38ed494.zip |
Minor fixes, this is all for today
Diffstat (limited to 'wiki/wikigen.py')
-rwxr-xr-x | wiki/wikigen.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wiki/wikigen.py b/wiki/wikigen.py index f76a726..19af4c1 100755 --- a/wiki/wikigen.py +++ b/wiki/wikigen.py @@ -107,7 +107,7 @@ def testMobs(): x.name=stp(a) elif " Hp:" in a: x.hp=stp(a) - elif " Level:" in a: + elif " Lv:" in a: x.mobpt=stp(a) elif " Exp:" in a: x.xp=stp(a) @@ -148,13 +148,13 @@ def testMobs(): src.close() def stp(x): - return x.replace('\n', '').replace('|', '').replace('(int, defaults to ', '').replace(')', '').replace('basic experience', '').replace('"','').replace(" ","").replace('(string', '').replace('Name: ','').replace('AttackDelay: ', '').replace('MoveSpeed: ', '').replace('AttackRange: ', '').replace('ViewRange: ','') + return x.replace('\n', '').replace('|', '').replace('(int, defaults to ', '').replace(')', '').replace('basic experience', '').replace('"','').replace(" ","").replace('(string', '').replace('Name: ','').replace('AttackDelay: ', '').replace('MoveSpeed: ', '').replace('AttackRange: ', '').replace('ViewRange: ','').replace('Attack: ','').replace('ViewRange: ','') def writeMob(): wikib.write("\ + [Aggressive Monsters](#aggressive-monsters)\n\ -+ [Other Monsters](#other-monsters)\n\n\ ++ [Normal Monsters](#normal-monsters)\n\n\ ") wikib.write("## Aggressive Monsters\n\n") |