diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-23 23:05:48 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-23 23:05:48 -0300 |
commit | 3fe056e4f962a015dfff2c6b176e537994617e20 (patch) | |
tree | 93bb95152d4e4111178fbfbc1953ba427519bdbf | |
parent | 6b74829858f043be16ab9103710bfc3aa2cb4771 (diff) | |
download | sdk-3fe056e4f962a015dfff2c6b176e537994617e20.tar.gz sdk-3fe056e4f962a015dfff2c6b176e537994617e20.tar.bz2 sdk-3fe056e4f962a015dfff2c6b176e537994617e20.tar.xz sdk-3fe056e4f962a015dfff2c6b176e537994617e20.zip |
And max level.
-rw-r--r-- | ueditor.rpy | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ueditor.rpy b/ueditor.rpy index ef4aa6a..e66171d 100644 --- a/ueditor.rpy +++ b/ueditor.rpy @@ -96,7 +96,7 @@ screen units_editor(): $ input=Input( value=UEditorInputValue(uedit, "name", None, "str", dp=True), copypaste=True, - allow="qwertyuiopasdfghjklçzxcvbnm QWERTYUIOPASDFGHJKLÇZXCVBNM1234567890-+=!()", + allow="qwertyuiopasdfghjklçzxcvbnm QWERTYUIOPASDFGHJKLÇZXCVBNM1234567890-+=!(),.:;", length=32) button: #key_events True @@ -313,8 +313,9 @@ init python: uedit["hp"]=copy.copy(HP) allunitsbase[current]["strength"]=copy.copy(STR) allunitsbase[current]["hp"]=copy.copy(HP) - # Correct unit family if needed + # Correct unit family and max level if needed allunitsbase[current]["unit_base_id"]=allunitsbase[current]["unit_id"]/100 + allunitsbase[current]["max_level"]=10+(rar*10) return |