From c6f102ef8f7a08903617e70135fca5ccfe11b75a Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 22 Oct 2014 05:20:14 +0200 Subject: Deprecated checkriding and setriding commands Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru --- npc/re/jobs/3-1/rune_knight.txt | 2 +- npc/re/jobs/3-2/royal_guard.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/re/jobs') 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; } -- cgit v1.2.3-60-g2f50