diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-23 22:57:35 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-23 22:57:35 -0300 |
commit | 6b74829858f043be16ab9103710bfc3aa2cb4771 (patch) | |
tree | a06f848ce42434f5d9ca6547725f690463e1d733 | |
parent | db5789d98b822547cca92a55be258fd8e341fd24 (diff) | |
download | sdk-6b74829858f043be16ab9103710bfc3aa2cb4771.tar.gz sdk-6b74829858f043be16ab9103710bfc3aa2cb4771.tar.bz2 sdk-6b74829858f043be16ab9103710bfc3aa2cb4771.tar.xz sdk-6b74829858f043be16ab9103710bfc3aa2cb4771.zip |
Recalculate unit base ID as well
-rw-r--r-- | ueditor.rpy | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ueditor.rpy b/ueditor.rpy index a77faf5..ef4aa6a 100644 --- a/ueditor.rpy +++ b/ueditor.rpy @@ -313,6 +313,8 @@ init python: uedit["hp"]=copy.copy(HP) allunitsbase[current]["strength"]=copy.copy(STR) allunitsbase[current]["hp"]=copy.copy(HP) + # Correct unit family if needed + allunitsbase[current]["unit_base_id"]=allunitsbase[current]["unit_id"]/100 return |