diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-05-23 02:37:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-06-01 19:39:50 +0300 |
commit | 08837726fc5dc4f7ab141544e2a1b79840d961c3 (patch) | |
tree | 8130533e1adf51fc1a0ce524b524ac959c935b8d | |
parent | f6505f67237e7381eb364212789531421e60bd5a (diff) | |
download | hercules-08837726fc5dc4f7ab141544e2a1b79840d961c3.tar.gz hercules-08837726fc5dc4f7ab141544e2a1b79840d961c3.tar.bz2 hercules-08837726fc5dc4f7ab141544e2a1b79840d961c3.tar.xz hercules-08837726fc5dc4f7ab141544e2a1b79840d961c3.zip |
Fix some stats calculation issues by reverting basic stats type from uint32 to uint16
-rw-r--r-- | src/map/status.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/status.h b/src/map/status.h index 5f53b715a..853a7a1a6 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -2058,8 +2058,9 @@ typedef struct weapon_atk { struct status_data { uint32 hp, sp, // see status_cpy before adding members before hp and sp - max_hp, max_sp, - str, agi, vit, int_, dex, luk, + max_hp, max_sp; + uint16 str, agi, vit, int_, dex, luk; + uint32 batk, matk_min, matk_max, speed, |