summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-07-02 04:26:09 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-07-02 04:33:17 +0200
commit98064d23a7231816d2c04e1e95c90b18d5636b30 (patch)
tree54fe2c63d025b2ea55e0d95a69bcee4a04ad982f /src/map/pc.h
parent7888d7144db4c4e71542b786eb7e143dbd066230 (diff)
downloadhercules-98064d23a7231816d2c04e1e95c90b18d5636b30.tar.gz
hercules-98064d23a7231816d2c04e1e95c90b18d5636b30.tar.bz2
hercules-98064d23a7231816d2c04e1e95c90b18d5636b30.tar.xz
hercules-98064d23a7231816d2c04e1e95c90b18d5636b30.zip
Add bMagicSubDefEle item bonus
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index a0c3bf955..3f8f88444 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -400,6 +400,10 @@ BEGIN_ZEROED_BLOCK; // this block will be globally zeroed at the beginning of st
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.
+ struct {
int atk_rate;
int arrow_atk,arrow_ele,arrow_cri,arrow_hit;
int nsshealhp,nsshealsp;