From a852bdd4c04fd3e6c08e950a320f0e78d61b3673 Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 22 Oct 2014 04:54:29 +0200 Subject: Deprecated checkdragon and setdragon commands Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru --- npc/other/turbo_track.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'npc/other') diff --git a/npc/other/turbo_track.txt b/npc/other/turbo_track.txt index 28451f9bb..ded537086 100644 --- a/npc/other/turbo_track.txt +++ b/npc/other/turbo_track.txt @@ -4629,7 +4629,7 @@ OnTouch: getitem 7310,1; //Free_Peco_Ticket } else { if (BaseJob == Job_Knight) - setdragon 0; + setmount(MOUNT_NONE); else setriding 0; } @@ -4716,7 +4716,7 @@ alde_gld,186,199,3 script Turbo Track Guide#Entran 4_F_RACING,{ set .@mount$,"Dragon"; set .@skill,63; set .@skill$,"Dragon Training"; - set .@riding, checkdragon(); + set .@riding, checkmount() == MOUNT_DRAGON ? true : false; // FIXME set .@i,2; } else { set .@mount$,"Gryphon"; @@ -4782,7 +4782,7 @@ alde_gld,186,199,3 script Turbo Track Guide#Entran 4_F_RACING,{ } switch(.@i) { case 1: setriding; break; - case 2: setdragon; break; + case 2: setmount(MOUNT_DRAGON); break; case 3: setmount(MOUNT_MADO); break; } mes .@n$; -- cgit v1.2.3-60-g2f50