summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-03 05:07:58 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-03 05:07:58 +0000
commite0afeaacc4f25cc8f1dbdb0939ed7d262711d62b (patch)
treeea1cca8d2e15b69f57a78bc784971506dd6d9ecb /src/map/status.h
parentf68bd7c915dc631d452b6ea2ac21cdf75bc26fe4 (diff)
downloadhercules-e0afeaacc4f25cc8f1dbdb0939ed7d262711d62b.tar.gz
hercules-e0afeaacc4f25cc8f1dbdb0939ed7d262711d62b.tar.bz2
hercules-e0afeaacc4f25cc8f1dbdb0939ed7d262711d62b.tar.xz
hercules-e0afeaacc4f25cc8f1dbdb0939ed7d262711d62b.zip
- JK_JOINTBEAT as described in:
http://www.ragnainfo.net/wiki/index.php/Vital_Strike Although not clear, it's being assumed that the 2x damage is only for the break neck ailment. Reported by zaibach in http://www.eathena.ws/board/index.php?s=&showtopic=93873&view=findpost&p=727844 Note: this should be reviewed by Skotlex or someone that knows this part of the code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9609 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.h')
-rw-r--r--src/map/status.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/status.h b/src/map/status.h
index 8f7a02916..84a231548 100644
--- a/src/map/status.h
+++ b/src/map/status.h
@@ -402,6 +402,15 @@ enum {
SI_ACCURACY = 210
};
+// JOINTBEAT stackable ailments
+#define BREAK_ANKLE 0x01 // MoveSpeed reduced by 50%
+#define BREAK_WRIST 0x02 // ASPD reduced by 25%
+#define BREAK_KNEE 0x04 // MoveSpeed reduced by 30%, ASPD reduced by 10%
+#define BREAK_SHOULDER 0x08 // DEF reduced by 50%
+#define BREAK_WAIST 0x10 // DEF reduced by 25%, ATK reduced by 25%
+#define BREAK_NECK 0x20 // current attack does 2x damage, inflicts 'bleeding' for 30 seconds
+#define BREAK_FLAGS ( BREAK_ANKLE | BREAK_WRIST | BREAK_KNEE | BREAK_SHOULDER | BREAK_WAIST | BREAK_NECK )
+
extern int current_equip_item_index;
extern int current_equip_card_id;
@@ -611,6 +620,7 @@ int status_get_sc_def(struct block_list *bl, int type);
//Short version, receives rate in 1->100 range, and does not uses a flag setting.
#define sc_start(bl, type, rate, val1, tick) status_change_start(bl,type,100*(rate),val1,0,0,0,tick,0)
+#define sc_start2(bl, type, rate, val1, val2, tick) status_change_start(bl,type,100*(rate),val1,val2,0,0,tick,0)
#define sc_start4(bl, type, rate, val1, val2, val3, val4, tick) status_change_start(bl,type,100*(rate),val1,val2,val3,val4,tick,0)
int status_change_start(struct block_list *bl,int type,int rate,int val1,int val2,int val3,int val4,int tick,int flag);