diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-14 18:15:24 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-14 18:15:24 +0000 |
commit | 8ff9db48cd5f38b532232b30c5ead723d09259cd (patch) | |
tree | dbf9c2230a7f5cef26959d36eec20f400e95b338 /src/map/skill.h | |
parent | 85fa4fdffd67908a487b957bc10aaecb4cf7ed7a (diff) | |
download | hercules-8ff9db48cd5f38b532232b30c5ead723d09259cd.tar.gz hercules-8ff9db48cd5f38b532232b30c5ead723d09259cd.tar.bz2 hercules-8ff9db48cd5f38b532232b30c5ead723d09259cd.tar.xz hercules-8ff9db48cd5f38b532232b30c5ead723d09259cd.zip |
- Added function skill_strip to handle stripping code. The RG strip skills and GS_DISARM use it now.
- Modified the strip-related status changes so they handle removing the equipped item instead of leaving it up to the skill-code. They return 0 when nothing could be stripped.
- Cleaned some the MD_DETECTOR code.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9499 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.h')
-rw-r--r-- | src/map/skill.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/skill.h b/src/map/skill.h index 973648499..ac08ab34b 100644 --- a/src/map/skill.h +++ b/src/map/skill.h @@ -194,6 +194,7 @@ int skill_additional_effect( struct block_list* src, struct block_list *bl,int s int skill_counter_additional_effect( struct block_list* src, struct block_list *bl,int skillid,int skilllv,int attack_type,unsigned int tick); int skill_blown( struct block_list *src, struct block_list *target,int count); int skill_break_equip(struct block_list *bl, unsigned short where, int rate, int flag); +int skill_strip_equip(struct block_list *bl, unsigned short where, int rate, int lv, int time); // ユニットスキル 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); |