summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-11 17:20:20 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-11 17:20:20 +0000
commit8e044bc3fc16f49cc32db90b3153d3bc21f9ee77 (patch)
treed27b7a47cf953d21032dc3c20805eacb982d89bb /src/map
parent4fc4f271eb042514ea22dd84b993b3bf288526a9 (diff)
downloadhercules-8e044bc3fc16f49cc32db90b3153d3bc21f9ee77.tar.gz
hercules-8e044bc3fc16f49cc32db90b3153d3bc21f9ee77.tar.bz2
hercules-8e044bc3fc16f49cc32db90b3153d3bc21f9ee77.tar.xz
hercules-8e044bc3fc16f49cc32db90b3153d3bc21f9ee77.zip
- Updated the effect list a bit
- Fixed some npc typos git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10531 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/status.c3
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