diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-03-19 00:11:46 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-03-19 00:11:46 -0300 |
commit | 71389c659e5d29679d6c0ce0da15b5565cb8342e (patch) | |
tree | 7bef9f97be4de29bb030d941fa92b061d9328706 /wiki/wikigen.py | |
parent | e0207737d2827ae7a0ad526148b39caee38ed494 (diff) | |
download | tools-71389c659e5d29679d6c0ce0da15b5565cb8342e.tar.gz tools-71389c659e5d29679d6c0ce0da15b5565cb8342e.tar.bz2 tools-71389c659e5d29679d6c0ce0da15b5565cb8342e.tar.xz tools-71389c659e5d29679d6c0ce0da15b5565cb8342e.zip |
Sorry sorry, my bad, minor fixes, happy now? c:
Diffstat (limited to 'wiki/wikigen.py')
-rwxr-xr-x | wiki/wikigen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiki/wikigen.py b/wiki/wikigen.py index 19af4c1..582c92a 100755 --- a/wiki/wikigen.py +++ b/wiki/wikigen.py @@ -148,7 +148,7 @@ 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: ','').replace('Attack: ','').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: ','').replace('Hp: ','').replace('Id: ','') def writeMob(): @@ -202,7 +202,7 @@ def mbdt(summary, content): def mb_rdmisc(mb): buff="" - buff+="Modes: %s\n" % (mb.st) + buff+="Modes: %s\n" % (mb.st) # TODO: Move to table body buff+="Attack Range: %s\n" % (mb.range) buff+="Move speed: %s ms\n" % (mb.move) return buff |