summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLed Mitz <smoothshifter@tuta.io>2024-08-28 13:00:07 +0000
committerLed Mitz <smoothshifter@tuta.io>2024-08-28 13:00:07 +0000
commit1ff4530284a8512020950de961298df6ec91e24f (patch)
tree1ccd025d21bb11dce90cd75d983ba986bfb64189
parenta5de2c06e242917a38f89a79cfc94d02fa472b8a (diff)
parentff6a12706b7ee283b63d871650855ee1127de9b8 (diff)
downloadtools-master.tar.gz
tools-master.tar.bz2
tools-master.tar.xz
tools-master.zip
Merge branch 'sc_phys_shield_item' into 'master'HEADmaster
sc_phys_shield_item See merge request legacy/tools!44
-rwxr-xr-xevolved.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/evolved.py b/evolved.py
index 282a32a..ee8da4e 100755
--- a/evolved.py
+++ b/evolved.py
@@ -418,6 +418,7 @@ def stis(x):
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'callfunc\("SC_Bonus", (-?[0-9]+), SC_PHYS_SHIELD_ITEM, (-?[0-9]+).*',r'sc_start SC_PHYS_SHIELD_ITEM, \1, \2;',x)
x=re.sub(r' +',' ',x)
return x.replace('\n', '').replace("\t","").strip()