diff options
author | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-26 11:20:38 +0000 |
---|---|---|
committer | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-26 11:20:38 +0000 |
commit | 8ca00fc7e0e1457b1cb1537e2caeefa150344360 (patch) | |
tree | b6818621e3485148c6adf755afd0dae24c1e8575 /src/map/status.h | |
parent | 317ba93ee42b32c369f7aa7f669f4acb3ac72e60 (diff) | |
download | hercules-8ca00fc7e0e1457b1cb1537e2caeefa150344360.tar.gz hercules-8ca00fc7e0e1457b1cb1537e2caeefa150344360.tar.bz2 hercules-8ca00fc7e0e1457b1cb1537e2caeefa150344360.tar.xz hercules-8ca00fc7e0e1457b1cb1537e2caeefa150344360.zip |
Added status_get_sc_def for calculating resistance against status abnormalities
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@997 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.h')
-rw-r--r-- | src/map/status.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/status.h b/src/map/status.h index 513458822..6ef1d4bb5 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -54,6 +54,12 @@ int status_get_atk_(struct block_list *bl); int status_get_atk_2(struct block_list *bl);
int status_get_atk2(struct block_list *bl);
+int status_get_sc_def(struct block_list *bl, int type);
+#define status_get_sc_def_mdef(bl) (status_get_sc_def(bl, SP_MDEF1))
+#define status_get_sc_def_vit(bl) (status_get_sc_def(bl, SP_DEF2))
+#define status_get_sc_def_int(bl) (status_get_sc_def(bl, SP_MDEF2))
+#define status_get_sc_def_luk(bl) (status_get_sc_def(bl, SP_LUK))
+
// 状態異常関連 skill.c より移動
int status_change_start(struct block_list *bl,int type,int val1,int val2,int val3,int val4,int tick,int flag);
int status_change_end( struct block_list* bl , int type,int tid );
|