summaryrefslogtreecommitdiff
path: root/wiki/wikigen.py
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-19 00:08:58 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-19 00:08:58 -0300
commite0207737d2827ae7a0ad526148b39caee38ed494 (patch)
tree8082e9dcb6fb5426e7610aecefe4b398fe736a3c /wiki/wikigen.py
parent87f14b13db50d9216c71a389b5ce4274bb564d59 (diff)
downloadtools-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-xwiki/wikigen.py6
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")