diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/status.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index af86c8951..d75ab7c6a 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5750,12 +5750,13 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val val4 = BF_WEAPON|BF_MISC; //Type break; case SC_ENCHANTARMS: + //end previous enchants + skill_enchant_elemental_end(bl,type); //Make sure the received element is valid. if (val2 >= ELE_MAX) 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 |