diff options
author | Haru <haru@dotalux.com> | 2019-06-01 19:51:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-01 19:51:50 +0200 |
commit | 62e50af26557ef81a0ada66f59f62f12f14ca17e (patch) | |
tree | 8130533e1adf51fc1a0ce524b524ac959c935b8d | |
parent | f6505f67237e7381eb364212789531421e60bd5a (diff) | |
parent | 08837726fc5dc4f7ab141544e2a1b79840d961c3 (diff) | |
download | hercules-62e50af26557ef81a0ada66f59f62f12f14ca17e.tar.gz hercules-62e50af26557ef81a0ada66f59f62f12f14ca17e.tar.bz2 hercules-62e50af26557ef81a0ada66f59f62f12f14ca17e.tar.xz hercules-62e50af26557ef81a0ada66f59f62f12f14ca17e.zip |
Merge pull request #2482 from 4144/unsignedfix
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, |