diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-16 14:05:24 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-16 14:05:24 +0000 |
commit | 143e5d0790f5b8eb7e79b275ac37188b5bac7362 (patch) | |
tree | a86ea7bffa81011c521cf195882c478cce9b6940 /src/map | |
parent | 24d0d0a5216219169b8da6c1601b4867bcbe9ca6 (diff) | |
download | hercules-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')
-rw-r--r-- | src/map/atcommand.c | 2 | ||||
-rw-r--r-- | src/map/skill.c | 6 | ||||
-rw-r--r-- | src/map/status.c | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 4cb4280a0..71b7fca74 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -10064,7 +10064,7 @@ int atcommand_hominfo( snprintf(atcmd_output, sizeof(atcmd_output) ,"ATK : %d - MATK : %d~%d", sd->hd->battle_status.rhw.atk2+sd->hd->battle_status.batk, sd->hd->battle_status.matk_min, sd->hd->battle_status.matk_max);
clif_displaymessage(fd, atcmd_output);
- snprintf(atcmd_output, sizeof(atcmd_output) ,"Hungry : %d - Intimacy : %u", sd->homunculus.hunger, sd->homunculus.intimacy);
+ snprintf(atcmd_output, sizeof(atcmd_output) ,"Hungry : %d - Intimacy : %u", sd->homunculus.hunger, sd->homunculus.intimacy/100);
clif_displaymessage(fd, atcmd_output);
return 0;
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); diff --git a/src/map/status.c b/src/map/status.c index 2f8517427..246b90817 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -4752,13 +4752,13 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val case SC_BLIND:
case SC_BLEEDING:
case SC_DPOISON:
- case SC_COMBO: //You aren't supposed to change the combo (and it gets turned off when you trigger it)
case SC_CLOSECONFINE2: //Can't be re-closed in.
case SC_MARIONETTE:
case SC_MARIONETTE2:
case SC_NOCHAT:
case SC_CHANGE: //Otherwise your Hp/Sp would get refilled while still within effect of the last invocation.
return 0;
+ case SC_COMBO:
case SC_DANCING:
case SC_DEVOTION:
case SC_ASPDPOTION0:
|