summaryrefslogtreecommitdiff
path: root/npc/quests
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-22 05:20:14 +0200
committerHaru <haru@dotalux.com>2014-10-30 01:22:52 +0100
commitc6f102ef8f7a08903617e70135fca5ccfe11b75a (patch)
treea7736515f920d80baa581570372b2fed87dc9cd5 /npc/quests
parenta852bdd4c04fd3e6c08e950a320f0e78d61b3673 (diff)
downloadhercules-c6f102ef8f7a08903617e70135fca5ccfe11b75a.tar.gz
hercules-c6f102ef8f7a08903617e70135fca5ccfe11b75a.tar.bz2
hercules-c6f102ef8f7a08903617e70135fca5ccfe11b75a.tar.xz
hercules-c6f102ef8f7a08903617e70135fca5ccfe11b75a.zip
Deprecated checkriding and setriding commands
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/quests')
-rw-r--r--npc/quests/quests_moscovia.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/quests/quests_moscovia.txt b/npc/quests/quests_moscovia.txt
index 685010f1a..9303eda67 100644
--- a/npc/quests/quests_moscovia.txt
+++ b/npc/quests/quests_moscovia.txt
@@ -6716,7 +6716,7 @@ mosk_dun01,169,162,0 script Mysterious Stone#rus02 HIDDEN_NPC,{
warp "mosk_dun01",190,47;
end;
case 2:
- if (!checkriding()) {
+ if (checkmount() != MOUNT_PECO) {
mes "["+ strcharinfo(0) +"]";
mes "...What about the left...?";
next;
@@ -6744,7 +6744,7 @@ mosk_dun01,169,162,0 script Mysterious Stone#rus02 HIDDEN_NPC,{
mes "- an unknown force and tries -";
mes "- to run away!! -";
sc_start SC_CURSE,60000,0;
- setriding 0;
+ setmount(MOUNT_NONE);
close2;
warp "mosk_dun01",190,47;
end;