summaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-27 17:55:11 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-27 17:55:11 -0300
commit2af44990afcc94f58f1246f6d49fbd7095cda0e2 (patch)
treedfa203cd7f73ef741e9961f2e29d4cc07fb5f007 /wiki
parent355b4adb7c76bf5af68b1d98eca52c4cf6ab1c03 (diff)
downloadtools-2af44990afcc94f58f1246f6d49fbd7095cda0e2.tar.gz
tools-2af44990afcc94f58f1246f6d49fbd7095cda0e2.tar.bz2
tools-2af44990afcc94f58f1246f6d49fbd7095cda0e2.tar.xz
tools-2af44990afcc94f58f1246f6d49fbd7095cda0e2.zip
In the end of the day, this became the final formula.
Diffstat (limited to 'wiki')
-rwxr-xr-xwiki/redesign.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/wiki/redesign.py b/wiki/redesign.py
index cf8d462..45eb6f5 100755
--- a/wiki/redesign.py
+++ b/wiki/redesign.py
@@ -634,7 +634,7 @@ def mb_stgen(mb):
OVER100=0
if lv > 100:
OVER100=lv-100
- lv=100+OVER100*1.05
+ lv=100+OVER100*0.25
# Fórmula da HPTable: 400+(x*50)
# MASTERED
@@ -802,12 +802,22 @@ def mb_stgen(mb):
hxp=mxp/10
del minxp, mxp
+ # Over100 Special Formula (kinda)
+ if lv > 80:
+ lv=80+(lv-80)*0.25
+
# Defense follows the same player formula
dfn=((lv**1.255)*2.5)
dfn=dfn*350.0/810.0
mdf=max(0, lv-5)+(lv/10.0)
if not mb.boss:
mdf/=2
+ if ar > 3:
+ dfn/=2
+
+ # Over100 Special Formula
+ if OVER100:
+ lv=100+OVER100
# Force HP to be higher
# It'll only start applying from level 40 onwards