summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c2
-rw-r--r--src/map/status.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 813018852..7f0959f2f 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9683,6 +9683,8 @@ int skill_enchant_elemental_end (struct block_list *bl, int type)
status_change_end(bl, SC_SHADOWWEAPON, -1);
if (type != SC_GHOSTWEAPON && sc->data[SC_GHOSTWEAPON].timer != -1)
status_change_end(bl, SC_GHOSTWEAPON, -1);
+ if (type != SC_ENCHANTARMS && sc->data[SC_ENCHANTARMS].timer != -1)
+ status_change_end(bl, SC_ENCHANTARMS, -1);
return 0;
}
diff --git a/src/map/status.c b/src/map/status.c
index c968fd58e..af86c8951 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -5755,6 +5755,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
val2 = val2%ELE_MAX;
else if (val2 < 0)
val2 = rand()%ELE_MAX;
+ skill_enchant_elemental_end(bl,type);
break;
case SC_ARMOR_ELEMENT:
//Place here SCs that have no SCB_* data, no skill associated, no ICON