summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2015-12-26 19:56:18 +0800
committerHaru <haru@dotalux.com>2016-01-09 18:45:14 +0100
commita0f25125a6239894a86d51ae8dcf6a06a4d0a380 (patch)
treeed58fa16b74e46268cd8701948ce69e5bd5bb95d /src/map/skill.c
parentd9d0e6275f579674735cf774069c27844a840397 (diff)
downloadhercules-a0f25125a6239894a86d51ae8dcf6a06a4d0a380.tar.gz
hercules-a0f25125a6239894a86d51ae8dcf6a06a4d0a380.tar.bz2
hercules-a0f25125a6239894a86d51ae8dcf6a06a4d0a380.tar.xz
hercules-a0f25125a6239894a86d51ae8dcf6a06a4d0a380.zip
Added support for MC_CARTDECORATE skill.
*This skill is supported only by 2015-08-05aRagexeRE clients onwards.* Closes #1025 as merged Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index b3c264e43..d9ced959a 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6047,7 +6047,14 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
break;
case MC_CHANGECART:
- clif->skill_nodamage(src,bl,skill_id,skill_lv,1);
+ clif->skill_nodamage(src, bl, skill_id, skill_lv, 1);
+ break;
+
+ case MC_CARTDECORATE:
+ if (sd) {
+ clif->skill_nodamage(src, bl, skill_id, skill_lv, 1);
+ clif->selectcart(sd);
+ }
break;
case TK_MISSION: