summaryrefslogtreecommitdiff
path: root/npc/re/jobs
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/re/jobs
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/re/jobs')
-rw-r--r--npc/re/jobs/3-1/rune_knight.txt2
-rw-r--r--npc/re/jobs/3-2/royal_guard.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/npc/re/jobs/3-1/rune_knight.txt b/npc/re/jobs/3-1/rune_knight.txt
index 7c38c7c25..ceb38a0eb 100644
--- a/npc/re/jobs/3-1/rune_knight.txt
+++ b/npc/re/jobs/3-1/rune_knight.txt
@@ -504,7 +504,7 @@ job3_rune01,80,60,3 script Rune Knight Captain 4_M_KNIGHT_SILVER,2,2,{
next;
switch(select("Every preparation is done.:I need more time to think.")) {
case 1:
- if (SkillPoint != 0 || checkriding()) {
+ if (SkillPoint != 0 || checkmount() == MOUNT_PECO) {
mes "[Captain Tigris]";
mes "Weren't you listening?";
next;
diff --git a/npc/re/jobs/3-2/royal_guard.txt b/npc/re/jobs/3-2/royal_guard.txt
index bf569118d..c8c0346eb 100644
--- a/npc/re/jobs/3-2/royal_guard.txt
+++ b/npc/re/jobs/3-2/royal_guard.txt
@@ -32,7 +32,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{
mes "Oh you are so young. Keep working hard.";
close;
}
- if (checkriding() || checkcart() || checkfalcon()) {
+ if (checkmount() || checkcart() || checkfalcon()) {
mes "[Middle-aged Gentleman]";
mes "You are dragging something. If you're riding something you better dismount it before proceeding.";
close;
@@ -340,7 +340,7 @@ glast_01,240,366,5 script Memory of King Schmidtz CLEAR_NPC,{
mes "- and please try again. -";
close;
}
- if (hascashmount() || checkriding()) {
+ if (hascashmount() || checkmount()) {
mes " Please unequip your riding pet and try again!";
close;
}