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/events/event_skill_reset.txt | 6 +++--- npc/events/halloween_2008.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/events') diff --git a/npc/events/event_skill_reset.txt b/npc/events/event_skill_reset.txt index 15d781bff..ab8805736 100644 --- a/npc/events/event_skill_reset.txt +++ b/npc/events/event_skill_reset.txt @@ -30,7 +30,7 @@ yuno,138,187,4 script Hypnotist Teacher 4_F_TELEPORTER,{ mes "Please come again soon!"; close; } - if(Weight || checkfalcon() || checkcart() || checkriding()) { + if(Weight || checkfalcon() || checkcart() || checkmount()) { mes "Would you like to reset skills?"; mes "I'm sorry, but..."; next; @@ -43,8 +43,8 @@ yuno,138,187,4 script Hypnotist Teacher 4_F_TELEPORTER,{ mes "Please, drop your cart and we'll continue."; else if(checkfalcon()) mes "Please, free your Falcon and we'll continue."; - else if(checkriding()) - mes "Please, free your PecoPeco and we'll continue."; + else if(checkmount()) + mes "Please, free your mount and we'll continue."; next; mes @npcname$; mes "Come back soon!"; diff --git a/npc/events/halloween_2008.txt b/npc/events/halloween_2008.txt index aa2780716..9b80eb798 100644 --- a/npc/events/halloween_2008.txt +++ b/npc/events/halloween_2008.txt @@ -134,7 +134,7 @@ S_Participate: Hallow08Kill = 1; @Hallow08Warp = rand(1,3); percentheal -98,0; - setriding 0; + setmount(MOUNT_NONE); setcart 0; warp "evt_zombie",155,246; end; -- cgit v1.2.3-70-g09d2