diff options
author | Haru <haru@dotalux.com> | 2014-10-22 04:43:41 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-10-30 01:22:52 +0100 |
commit | b3aef69807e315f71109ee00755087303b5336df (patch) | |
tree | a4fd6889accd1d825ccc0016e405d8fad09ae41d /npc/other | |
parent | cf8d24e602cce90d8f7c22e3d4a04aca4b66a3f3 (diff) | |
download | hercules-b3aef69807e315f71109ee00755087303b5336df.tar.gz hercules-b3aef69807e315f71109ee00755087303b5336df.tar.bz2 hercules-b3aef69807e315f71109ee00755087303b5336df.tar.xz hercules-b3aef69807e315f71109ee00755087303b5336df.zip |
Deprecated checkmadogear and setmadogear commands
Replaced their use in scripts with checkmount and setmount,
respectively.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/other')
-rw-r--r-- | npc/other/turbo_track.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/other/turbo_track.txt b/npc/other/turbo_track.txt index 5cc10d624..28451f9bb 100644 --- a/npc/other/turbo_track.txt +++ b/npc/other/turbo_track.txt @@ -4648,7 +4648,7 @@ OnTouch: setoption Option_Wugrider,0; warp "turbo_room",100,65; } - } else if ((Class == Job_Mechanic || Class == Job_Mechanic_T || Class == Job_Baby_Mechanic) && checkmadogear()) { + } else if ((Class == Job_Mechanic || Class == Job_Mechanic_T || Class == Job_Baby_Mechanic) && checkmount() == MOUNT_MADO) { if (MaxWeight-Weight < 20000) { mes "[Helper]"; mes "Magic Gears are prohibited"; @@ -4660,7 +4660,7 @@ OnTouch: warp "alde_gld",183,199; end; } else { - setmadogear 0; + setmount(MOUNT_NONE); warp "turbo_room",100,65; } } else @@ -4730,7 +4730,7 @@ alde_gld,186,199,3 script Turbo Track Guide#Entran 4_F_RACING,{ set .@mount$,"Magic Gear"; set .@skill,2255; set .@skill$,"Magic Gear License"; - set .@riding, checkmadogear(); + set .@riding, checkmount() == MOUNT_MADO ? true : false; // FIXME set .@i,3; } else { mes "Thank you for"; @@ -4783,7 +4783,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 3: setmadogear; break; + case 3: setmount(MOUNT_MADO); break; } mes .@n$; mes "Thank you for"; |