summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-01 17:27:37 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-01 17:27:37 +0000
commit9755833db59badc0e1c890646db6dcc504a654a4 (patch)
tree109f0d1580fd8cbf6e2afb3ff1336de09aea0e25 /src/map/clif.c
parentbff5eb4080d3f376c13956ccfc9fe77a268656b9 (diff)
downloadhercules-9755833db59badc0e1c890646db6dcc504a654a4.tar.gz
hercules-9755833db59badc0e1c890646db6dcc504a654a4.tar.bz2
hercules-9755833db59badc0e1c890646db6dcc504a654a4.tar.xz
hercules-9755833db59badc0e1c890646db6dcc504a654a4.zip
Fixed bugreport:5788 WL_READING_SB should now work like official behavior(save preserved spell on relog, proper skill fail message, maximum number of spell that a char can hold)
Fixed bugreport:5657 WL_EARTHSTRAIN should now work like official behavior(total number of range [15x4+lv], layout when casted, interval) Updated WL_IMPRISON duration, rate and proper skill fail message. Special thanks to Yommy and his amazing tool... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16365 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 132df9233..4153130e5 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -15859,8 +15859,10 @@ int clif_spellbook_list(struct map_session_data *sd)
sd->menuskill_id = WL_READING_SB;
sd->menuskill_val = c;
}
- else
+ else{
status_change_end(&sd->bl,SC_STOP,INVALID_TIMER);
+ clif_skill_fail(sd, WL_READING_SB, USESKILL_FAIL_SPELLBOOK, 0);
+ }
return 1;
}