summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-07-04 00:06:34 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-07-04 00:06:34 +0200
commit2eff14f905ad2a9493dcf879b16a4d4a0c5b8508 (patch)
tree0812a4e4449ca2e9a1ab8eac4acef58bae666dcc
parent179a65040ff5c3c88d8f236fa1792f4dfd193b44 (diff)
downloadhercules-2eff14f905ad2a9493dcf879b16a4d4a0c5b8508.tar.gz
hercules-2eff14f905ad2a9493dcf879b16a4d4a0c5b8508.tar.bz2
hercules-2eff14f905ad2a9493dcf879b16a4d4a0c5b8508.tar.xz
hercules-2eff14f905ad2a9493dcf879b16a4d4a0c5b8508.zip
Don't define separate structs for bSubDefEle and bMagicSubDefEle
-rw-r--r--src/map/pc.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 3f8f88444..7afb35be2 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -396,13 +396,9 @@ BEGIN_ZEROED_BLOCK; // this block will be globally zeroed at the beginning of st
int rate, tick;
} def_set_race[RC_MAX], mdef_set_race[RC_MAX];
struct {
- int rate_mob; //!< Physical damage reduction against monster's defense element.
- int rate_pc; //!< Physical damage reduction against player's defense element.
- } sub_def_ele[ELE_MAX]; //!< Bonus bSubDefEle data structure.
- struct {
- int rate_mob; //!< Magical damage reduction against monster's defense element.
- int rate_pc; //!< Magical damage reduction against player's defense element.
- } magic_sub_def_ele[ELE_MAX]; //!< Bonus bMagicSubDefEle data structure.
+ int rate_mob; //!< Damage reduction rate against monster's defense element.
+ int rate_pc; //!< Damage reduction rate against player's defense element.
+ } sub_def_ele[ELE_MAX], magic_sub_def_ele[ELE_MAX]; //!< Bonus bSubDefEle/bMagicSubDefEle data structure.
struct {
int atk_rate;
int arrow_atk,arrow_ele,arrow_cri,arrow_hit;