diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-05 21:07:42 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-05 21:07:42 +0000 |
commit | 31b7d59052233baa1f6539a2c2d59508071bd418 (patch) | |
tree | 9012d4130bcf239eca19a073e9645a5cae5cfd43 /src/map/skill.h | |
parent | 370bf9f32ed937420323611ca44580f127c40252 (diff) | |
download | hercules-31b7d59052233baa1f6539a2c2d59508071bd418.tar.gz hercules-31b7d59052233baa1f6539a2c2d59508071bd418.tar.bz2 hercules-31b7d59052233baa1f6539a2c2d59508071bd418.tar.xz hercules-31b7d59052233baa1f6539a2c2d59508071bd418.zip |
- Modified the ammo checks so that ammo is consumed at the end of battle_calc_weapon_attack (should fix element being lost on final arrow).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5914 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.h')
-rw-r--r-- | src/map/skill.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/skill.h b/src/map/skill.h index 0d2827149..b34f413b6 100644 --- a/src/map/skill.h +++ b/src/map/skill.h @@ -154,6 +154,7 @@ int skill_get_time2( int id ,int lv ); int skill_get_castdef( int id );
int skill_get_weapontype( int id );
int skill_get_ammotype( int id );
+int skill_get_ammo_qty( int id, int lv );
int skill_get_unit_id(int id,int flag);
int skill_get_inf2( int id );
int skill_get_castcancel( int id );
@@ -164,6 +165,7 @@ int skill_get_unit_target( int id ); int skill_tree_get_max( int id, int b_class ); // Celest
const char* skill_get_name( int id ); // [Skotlex]
+void skill_isammoy_type(TBL_PC *sd, int skill);
int skill_castend_id( int tid, unsigned int tick, int id,int data );
int skill_castend_pos( int tid, unsigned int tick, int id,int data );
int skill_castend_map( struct map_session_data *sd,int skill_num, const char *map);
|