summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-22 22:48:05 +0000
committerepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-22 22:48:05 +0000
commita2f6a9bfc21d4f259ed989542a9114b5a2eb97d5 (patch)
treeaa4ef751f4a5fc4ba8587c3afd0a5c8932f29e2d /src/map/skill.h
parent14c53cd601a6aba5811909ded3dae4992d707271 (diff)
downloadhercules-a2f6a9bfc21d4f259ed989542a9114b5a2eb97d5.tar.gz
hercules-a2f6a9bfc21d4f259ed989542a9114b5a2eb97d5.tar.bz2
hercules-a2f6a9bfc21d4f259ed989542a9114b5a2eb97d5.tar.xz
hercules-a2f6a9bfc21d4f259ed989542a9114b5a2eb97d5.zip
- Updated skill cooldown system to prevent multiple recordings of skill delays
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15505 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.h')
-rw-r--r--src/map/skill.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/skill.h b/src/map/skill.h
index 75eb2a30e..9e087b464 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -345,10 +345,12 @@ int skill_castend_nodamage_id( struct block_list *src, struct block_list *bl,int
int skill_castend_damage_id( struct block_list* src, struct block_list *bl,int skillid,int skilllv,unsigned int tick,int flag );
int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skilllv,unsigned int tick,int flag);
-int skill_blockpc_start (struct map_session_data*,int,int);
+int skill_blockpc_start_(struct map_session_data*, int, int, bool);
int skill_blockhomun_start (struct homun_data*,int,int);
int skill_blockmerc_start (struct mercenary_data*,int,int);
+#define skill_blockpc_start(sd, skillid, tick) skill_blockpc_start_( sd, skillid, tick, false )
+
// スキル攻?一括?理
int skill_attack( int attack_type, struct block_list* src, struct block_list *dsrc,struct block_list *bl,int skillid,int skilllv,unsigned int tick,int flag );