summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-07 16:57:12 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-07 16:57:12 +0000
commitf2d07fe0484b42a099b41f2940351b7b2b1bf8f4 (patch)
tree76d67445355d2ef4b4990edfdc6bdd973810121b /src/map/skill.c
parent4862df1325bab71999a31fbbae196df361cea929 (diff)
downloadhercules-f2d07fe0484b42a099b41f2940351b7b2b1bf8f4.tar.gz
hercules-f2d07fe0484b42a099b41f2940351b7b2b1bf8f4.tar.bz2
hercules-f2d07fe0484b42a099b41f2940351b7b2b1bf8f4.tar.xz
hercules-f2d07fe0484b42a099b41f2940351b7b2b1bf8f4.zip
- Added missing creation/destruction of the expcache_ers in guild.c
- Unified status_remove_buffs/status_remove_debuffs into a single function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5946 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index b440fbae1..67ca9f2f1 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5277,7 +5277,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
sc_start(bl,SC_INCMATKRATE,100,-50,skill_get_time2(skillid,skilllv));
break;
case 2: // all buffs removed
- status_change_clear_buffs(bl);
+ status_change_clear_buffs(bl,1);
break;
case 3: // 1000 damage, random armor destroyed
{
@@ -6970,7 +6970,7 @@ int skill_unit_onplace_timer(struct skill_unit *src,struct block_list *bl,unsign
}
break;
case 1: // End all negative status
- status_change_clear_debuffs (bl);
+ status_change_clear_buffs(bl,2);
break;
case 2: // Level 10 Blessing
sc_start(bl,SC_BLESSING,100,10,skill_get_time2(sg->skill_id, sg->skill_lv));