summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-16 14:05:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-16 14:05:24 +0000
commit143e5d0790f5b8eb7e79b275ac37188b5bac7362 (patch)
treea86ea7bffa81011c521cf195882c478cce9b6940 /src/map/skill.c
parent24d0d0a5216219169b8da6c1601b4867bcbe9ca6 (diff)
downloadhercules-143e5d0790f5b8eb7e79b275ac37188b5bac7362.tar.gz
hercules-143e5d0790f5b8eb7e79b275ac37188b5bac7362.tar.bz2
hercules-143e5d0790f5b8eb7e79b275ac37188b5bac7362.tar.xz
hercules-143e5d0790f5b8eb7e79b275ac37188b5bac7362.zip
- When reinvoking a combo-time, the previous combo time will be terminated.
- Fixed Esma-state not ending after casting it. - Fixed @hominfo displaying intimacy on a 1/10k scale. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8997 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 03ef6ae79..d60d4c653 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2835,7 +2835,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
break;
case MO_EXTREMITYFIST:
- if (sc && sc->count)
+ if (sc)
{
if (sc->data[SC_EXPLOSIONSPIRITS].timer != -1)
status_change_end(src, SC_EXPLOSIONSPIRITS, -1);
@@ -3084,9 +3084,11 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
skill_attack(BF_MAGIC, src, src, bl, skillid, skilllv, tick, flag);
break;
+ case SL_SMA:
+ if (sc && sc->data[SC_SMA].timer != -1)
+ status_change_end(src,SC_SMA,-1);
case SL_STIN:
case SL_STUN:
- case SL_SMA:
if (sd && !battle_config.allow_es_magic_pc && bl->type != BL_MOB) {
status_change_start(src,SC_STUN,10000,skilllv,0,0,0,500,10);
clif_skill_fail(sd,skillid,0,0);