summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-11-11 18:42:18 -0300
committerJesusaves <cpntb1@ymail.com>2022-11-11 18:42:18 -0300
commit8d6345ac07e0b26d162faaf63f3ad9360eb24786 (patch)
treecfaaeeb92866d84a8bf19e17714f59a03d05a565
parentf279c768e5d93986125f709420a486e81bf53858 (diff)
downloadtools-8d6345ac07e0b26d162faaf63f3ad9360eb24786.tar.gz
tools-8d6345ac07e0b26d162faaf63f3ad9360eb24786.tar.bz2
tools-8d6345ac07e0b26d162faaf63f3ad9360eb24786.tar.xz
tools-8d6345ac07e0b26d162faaf63f3ad9360eb24786.zip
In case TMWA is not so clever...
-rwxr-xr-xevolved.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/evolved.py b/evolved.py
index ea59b47..349b811 100755
--- a/evolved.py
+++ b/evolved.py
@@ -516,9 +516,9 @@ def write_mob(m, f):
dl.append(str(ch))
i+=1
## Write the line
- f.write("""%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, 0, 0, %s, 0, 0, 0, 0, 0, 0, 0, %s, %s\n""" % (m.id, m.aegis, m.aegis, m.mobpt, m.hp, m.sp,
+ f.write("""%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, 0, 0, %s, 0, 0, 0, 0, 0, 0, 0, %s, %s\n""" % (m.id, m.aegis, m.aegis, m.mobpt, m.hp, m.sp,
m.xp, m.jp, m.range, m.atk.replace('[','').split(",")[0], m.atk.replace(']','').split(",")[1].strip(), m.df, m.mdf, m.str, m.agi, m.vit,
-m.int, m.dex, m.luk, m.view, m.chase, m.size, m.race, m.elLv, m.elem, m.md, m.move,
+m.int, m.dex, m.luk, m.view, m.chase, m.size, m.race, int("%s%s" % (m.elLv, m.elem)), m.md, m.move,
m.adelay, m.amotion, m.dmotion, dl[0],dl[1], dl[2],dl[3], dl[4],dl[5],
dl[6],dl[7], dl[8],dl[9], dl[10],dl[11], dl[12],dl[13], dl[14],dl[15],
m.mvp, m.mtcnt, m.mtstr))