From d19310af9540db177bb35116d19dd1c3a2afff14 Mon Sep 17 00:00:00 2001 From: csnv Date: Wed, 10 Sep 2014 00:12:17 +0200 Subject: Fixes songs refresh bug, updates BA_ASSASSINCROSS - Fixes bug 7125: http://hercules.ws/board/tracker/issue-7125-song-refresh/ (Rathena fix) - Updated BA_ASSASSINCROSS ASPD Renewal Formula according to latest tests - Added 'Skill failed' message to Devotion --- src/map/unit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 519427635..8b74ff80c 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1247,8 +1247,10 @@ int unit_skilluse_id2(struct block_list *src, int target_id, uint16 skill_id, ui ARR_FIND(0, count, i, sd->devotion[i] == target_id); if (i == count) { ARR_FIND(0, count, i, sd->devotion[i] == 0); - if(i == count) - return 0; // Can't cast on other characters when limit is reached + if(i == count) { + clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0); + return 0; // Can't cast on other characters when limit is reached + } } } break; -- cgit v1.2.3-70-g09d2