summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorcsnv <ctt@csnv.es>2014-09-06 02:04:53 +0200
committercsnv <ctt@csnv.es>2014-09-06 02:07:15 +0200
commit41f28c0b9c6f1a285c0dba458e582209a1710fdb (patch)
treebd0c62910fd12d9396f55af4881d8336215d2ab3 /src/map/skill.c
parent41e2a782a7c86140a2440b67258c428e09113195 (diff)
downloadhercules-41f28c0b9c6f1a285c0dba458e582209a1710fdb.tar.gz
hercules-41f28c0b9c6f1a285c0dba458e582209a1710fdb.tar.bz2
hercules-41f28c0b9c6f1a285c0dba458e582209a1710fdb.tar.xz
hercules-41f28c0b9c6f1a285c0dba458e582209a1710fdb.zip
Fixes CR_DEVOTION and MG_STONECURSE behaviour, hiding behaviour.
Fixed CR_DEVOTION to not be casted on other characters while the limit is already reached. Follow-up: e7be72538ea9c203bfd7a976d82e268e04303ca4 MG_STONECURSE now correctly displays effect when terminating SC_STONE. No longer works on hidden characters. Bug report http://hercules.ws/board/tracker/issue-7958-stone-curse/ Hiding no longer prevents skills from working if they were casted before hiding and are not intended to inflict damage (buff/de-buff skills). Tested on aegis.
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 94aa32599..372e2cfcf 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6360,7 +6360,7 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
if (tsc->data[SC_STONE]) {
status_change_end(bl, SC_STONE, INVALID_TIMER);
- if (sd) clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
+ clif->skill_nodamage(src,bl,skill_id,skill_lv,1);
break;
}
if (sc_start4(src,bl,SC_STONE,(skill_lv*4+20)+brate,