summaryrefslogtreecommitdiff
path: root/npc/other
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-22 04:54:29 +0200
committerHaru <haru@dotalux.com>2014-10-30 01:22:52 +0100
commita852bdd4c04fd3e6c08e950a320f0e78d61b3673 (patch)
treef958404213e2b92d82d5f40e25d04ea15f0863aa /npc/other
parentb3aef69807e315f71109ee00755087303b5336df (diff)
downloadhercules-a852bdd4c04fd3e6c08e950a320f0e78d61b3673.tar.gz
hercules-a852bdd4c04fd3e6c08e950a320f0e78d61b3673.tar.bz2
hercules-a852bdd4c04fd3e6c08e950a320f0e78d61b3673.tar.xz
hercules-a852bdd4c04fd3e6c08e950a320f0e78d61b3673.zip
Deprecated checkdragon and setdragon 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.txt6
1 files changed, 3 insertions, 3 deletions
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$;