summaryrefslogtreecommitdiff
path: root/evolved.py
diff options
context:
space:
mode:
authorLed Mitz <smoothshifter@tuta.io>2023-04-28 22:12:48 +0000
committerLed Mitz <smoothshifter@tuta.io>2023-04-28 22:12:48 +0000
commit0ceb76a855a53e08a5a841eb3f606c8a885e6286 (patch)
tree99986f4f05da9f35247fb54a5a2c1b453f6856ce /evolved.py
parent1238bd7eec2194e56102c40ba3893d4cb332c700 (diff)
parent7a475f52546c14acf4b4896d1627a936575d9e9a (diff)
downloadtools-0ceb76a855a53e08a5a841eb3f606c8a885e6286.tar.gz
tools-0ceb76a855a53e08a5a841eb3f606c8a885e6286.tar.bz2
tools-0ceb76a855a53e08a5a841eb3f606c8a885e6286.tar.xz
tools-0ceb76a855a53e08a5a841eb3f606c8a885e6286.zip
Merge branch 'evolved_py_status_add' into 'master'
evolved_py status adds See merge request legacy/tools!35
Diffstat (limited to 'evolved.py')
-rwxr-xr-xevolved.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/evolved.py b/evolved.py
index afb1698..f293eb5 100755
--- a/evolved.py
+++ b/evolved.py
@@ -403,6 +403,8 @@ def stis(x):
x=re.sub(r'callfunc\("SC_Bonus", (-?[0-9]+), SC_ATTHASTE_POTION1, (-?[0-9]+).*',r'sc_start sc_raiseattackspeed0, \1, \2;',x)
x=re.sub(r'callfunc\("SC_Bonus", (-?[0-9]+), SC_SLOWPOISON, (-?[0-9]+).*',r'sc_start sc_slowpoison, \1, \2;',x) # uses 180k in tmwa files but gets multiplied by 1000 in source if low evolved value is taken
x=re.sub(r'callfunc\("SC_Bonus", (-?[0-9]+), SC_BLOODING, (-?[0-9]+).*',r'sc_start sc_poison, \1, \2;',x)
+ x=re.sub(r'callfunc\("SC_Bonus", (-?[0-9]+), SC_POISON, (-?[0-9]+).*',r'sc_start sc_poison, \1, \2;',x)
+ x=re.sub(r'callfunc\("SC_Bonus", (-?[0-9]+), SC_PHYS_SHIELD, (-?[0-9]+).*',r'sc_start SC_PHYS_SHIELD, \1, \2;',x)
x=re.sub(r' +',' ',x)
return x.replace('\n', '').replace("\t","").strip()