summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/custom/breeder.txt3
-rw-r--r--npc/other/turbo_track.txt6
-rw-r--r--npc/re/merchants/renters.txt12
3 files changed, 11 insertions, 10 deletions
diff --git a/npc/custom/breeder.txt b/npc/custom/breeder.txt
index 252511355..cb43091d3 100644
--- a/npc/custom/breeder.txt
+++ b/npc/custom/breeder.txt
@@ -41,7 +41,8 @@ prontera,124,201,1 script Universal Rental NPC 4_F_JOB_BLACKSMITH,{
else if (!checkcart() && getskilllv("MC_PUSHCART")) setcart;
else if (!checkfalcon() && getskilllv("HT_FALCON") && !checkoption(Option_Wug) && !checkoption(Option_Wugrider)) setfalcon;
else if (!checkriding() && getskilllv("KN_RIDING")) {
- if ((eaclass()&EAJ_THIRDMASK) == EAJ_RUNE_KNIGHT) setdragon;
+ if ((eaclass()&EAJ_THIRDMASK) == EAJ_RUNE_KNIGHT)
+ setmount(MOUNT_DRAGON);
else setriding;
} else if (checkmount() != MOUNT_MADO && getskilllv(NC_MADOLICENCE)) {
setmount(MOUNT_MADO);
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$;
diff --git a/npc/re/merchants/renters.txt b/npc/re/merchants/renters.txt
index e245968f0..c128e1a3d 100644
--- a/npc/re/merchants/renters.txt
+++ b/npc/re/merchants/renters.txt
@@ -21,8 +21,8 @@ job3_rune01,88,62,5 script Dragon Breeder 8W_SOLDIER,{
next;
switch(select("Yes:No")) {
case 1:
- //if (!getskilllv("RK_DRAGONTRAINING")) {
- if (!getskilllv("KN_RIDING")) {
+ //if (!getskilllv(RK_DRAGONTRAINING)) {
+ if (!getskilllv(KN_RIDING)) {
mes "[Dragon Breeder]";
mes "Please learn how to ride a Dragon first.";
close;
@@ -36,7 +36,7 @@ job3_rune01,88,62,5 script Dragon Breeder 8W_SOLDIER,{
mes "Please remove your cash mount.";
close;
}
- setdragon;
+ setmount(MOUNT_DRAGON);
close;
case 2:
mes "[Dragon Breeder]";
@@ -58,8 +58,8 @@ prontera,130,213,5 script Riding Creature Master 8W_SOLDIER,{
next;
switch(select("Yes:No")) {
case 1:
- //if (!getskilllv("RK_DRAGONTRAINING")) {
- if (!getskilllv("KN_RIDING")) {
+ //if (!getskilllv(RK_DRAGONTRAINING)) {
+ if (!getskilllv(KN_RIDING)) {
mes "[Riding Creature Master]";
mes "Please learn how to ride a Dragon first.";
close;
@@ -73,7 +73,7 @@ prontera,130,213,5 script Riding Creature Master 8W_SOLDIER,{
mes "Please remove your cash mount.";
close;
}
- setdragon;
+ setmount(MOUNT_DRAGON);
close;
case 2:
mes "[Riding Creature Master]";