summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-10 22:11:43 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-10 22:11:43 +0000
commit8f03106eccfbf42b72a86c2834aff994a7a58a2a (patch)
tree22701d6652d99abcc7ef3c6da8da52babd3a2f96 /src/map/skill.h
parenta4bb0c3ad6d6ba04cfe3f142da460bcf836e069f (diff)
downloadhercules-8f03106eccfbf42b72a86c2834aff994a7a58a2a.tar.gz
hercules-8f03106eccfbf42b72a86c2834aff994a7a58a2a.tar.bz2
hercules-8f03106eccfbf42b72a86c2834aff994a7a58a2a.tar.xz
hercules-8f03106eccfbf42b72a86c2834aff994a7a58a2a.zip
* Partially removed the usage of 'flags' to direct the execution path in skill unit code (some people seem to really like flags >_>)
- wiped out r8478 and its multiple levels of useless flag propagation - skill_unit_onlimit (expiration) no longer executes in skill_delunit - added skill_unit_ondelete for proper handling of this event git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11399 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.h')
-rw-r--r--src/map/skill.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/map/skill.h b/src/map/skill.h
index 857c7a313..9905c761b 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -204,10 +204,9 @@ int skill_strip_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 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 flag);
+int skill_delunit(struct skill_unit *unit);
+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_clear_unitgroup(struct block_list *src);
int skill_clear_group(struct block_list *bl, int flag);