summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-25 11:07:30 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-25 11:07:30 +0000
commit5bf1ac604fd1cf6e8e20930180b8ef23907c9ba0 (patch)
tree3bfbc2cf0e6f3a9ff4520db84d30b50e257fb281 /src/map/skill.h
parent0ad60ff7f298f886be2c05955edd51cb50b58f0d (diff)
downloadhercules-5bf1ac604fd1cf6e8e20930180b8ef23907c9ba0.tar.gz
hercules-5bf1ac604fd1cf6e8e20930180b8ef23907c9ba0.tar.bz2
hercules-5bf1ac604fd1cf6e8e20930180b8ef23907c9ba0.tar.xz
hercules-5bf1ac604fd1cf6e8e20930180b8ef23907c9ba0.zip
Added a flag to skill_delunitgroup, skill_delunit & skill_unit_onlimit.
If 1 is passed, it will avoid UNT_WARP_ACTIVE to be transformed in UNT_WARP_WAITING and will destroy it. [Toms] ( To avoid such crash : http://www.eathena.ws/board/index.php?showtopic=114102 when the code need an empty slot and the oldest one is UNT_WARP_ACTIVE ) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8478 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.h')
-rw-r--r--src/map/skill.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.h b/src/map/skill.h
index 8a7443195..0619088d8 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -195,10 +195,10 @@ int skill_break_equip(struct block_list *bl, unsigned short where, int rate, int
// ユニットスキル
struct skill_unit_group *skill_unitsetting( struct block_list *src, int skillid,int skilllv,int x,int y,int flag);
struct skill_unit *skill_initunit (struct skill_unit_group *group, int idx, int x, int y, int val1, int val2);
-int skill_delunit(struct skill_unit *unit);
+int skill_delunit(struct skill_unit *unit, int flag);
struct skill_unit_group *skill_initunitgroup(struct block_list *src,
int count,int skillid,int skilllv,int unit_id, int limit, int interval);
-int skill_delunitgroup(struct block_list *src, struct skill_unit_group *group);
+int skill_delunitgroup(struct block_list *src, struct skill_unit_group *group, int flag);
int skill_clear_unitgroup(struct block_list *src);
int skill_clear_group(struct block_list *bl, int flag);