summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 76d09d89b..43abfbcd9 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7100,7 +7100,16 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
clif_skill_nodamage(src, bl, skillid, skilllv, 1);
}
break;
-
+ case ALL_RIDING:
+ if( sd ) {
+ if( !(sd->sc.option&OPTION_MOUNTING) ) {
+ pc_setoption(sd, sd->sc.option|OPTION_MOUNTING);
+ } else {
+ pc_setoption(sd, sd->sc.option&~OPTION_MOUNTING);
+ }
+ clif_skill_nodamage(src, src, skillid, skilllv, 1);
+ }
+ break;
default:
ShowWarning("skill_castend_nodamage_id: Unknown skill used:%d\n",skillid);
clif_skill_nodamage(src,bl,skillid,skilllv,1);