summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/skill.c11
-rw-r--r--src/map/skill.h1
2 files changed, 11 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);
diff --git a/src/map/skill.h b/src/map/skill.h
index 2e4a68fa4..25d89dcd0 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -1329,6 +1329,7 @@ enum e_skill {
ALL_ODINS_RECALL = 2533,
RETURN_TO_ELDICASTES,
ALL_BUYING_STORE,
+ ALL_RIDING = 2538,
HLIF_HEAL = 8001,
HLIF_AVOID,