From 7a475f52546c14acf4b4896d1627a936575d9e9a Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Fri, 28 Apr 2023 23:54:04 +0200 Subject: evolved_py status adds --- evolved.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'evolved.py') 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() -- cgit v1.2.3-70-g09d2