From c776066a6116c2e2bfcd73eab7bcf2c044442292 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 25 Apr 2006 23:58:19 +0000 Subject: - Renamed skill_clear_element_field to skill_clear_group, it accepts a flag to determine what to erase. &1 for elemental fields, &2 for traps. Also rewrote how it works to prevent missing elements (since each time an element is erased, the array contents shift) - Added battle config traps_setting to determine how traps should behave. With &1 traps are invisible if you didn't see them get set up. With &2 traps will be removed after changing maps. The default is 2. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6285 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.h') diff --git a/src/map/skill.h b/src/map/skill.h index 054cd1c71..5e1dbb22f 100644 --- a/src/map/skill.h +++ b/src/map/skill.h @@ -189,7 +189,7 @@ 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_element_field(struct block_list *bl); +int skill_clear_group(struct block_list *bl, int flag); int skill_unit_ondamaged(struct skill_unit *src,struct block_list *bl, int damage,unsigned int tick); -- cgit v1.2.3-60-g2f50