summaryrefslogtreecommitdiff
path: root/npc/merchants
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-22 05:20:14 +0200
committerHaru <haru@dotalux.com>2014-10-30 01:22:52 +0100
commitc6f102ef8f7a08903617e70135fca5ccfe11b75a (patch)
treea7736515f920d80baa581570372b2fed87dc9cd5 /npc/merchants
parenta852bdd4c04fd3e6c08e950a320f0e78d61b3673 (diff)
downloadhercules-c6f102ef8f7a08903617e70135fca5ccfe11b75a.tar.gz
hercules-c6f102ef8f7a08903617e70135fca5ccfe11b75a.tar.bz2
hercules-c6f102ef8f7a08903617e70135fca5ccfe11b75a.tar.xz
hercules-c6f102ef8f7a08903617e70135fca5ccfe11b75a.zip
Deprecated checkriding and setriding commands
Replaced their use in scripts with checkmount and setmount, respectively. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/merchants')
-rw-r--r--npc/merchants/renters.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/merchants/renters.txt b/npc/merchants/renters.txt
index cac757f85..255db3e62 100644
--- a/npc/merchants/renters.txt
+++ b/npc/merchants/renters.txt
@@ -48,7 +48,7 @@ prontera,55,350,5 script Peco Peco Breeder#knt 8W_SOLDIER,{
mes "bankrupt?";
close;
}
- else if(getskilllv("KN_RIDING") == 0) {
+ else if(getskilllv(KN_RIDING) == 0) {
mes "[Peco Peco Breeder]";
mes "I'm sorry, but you're";
mes "not eligible for this";
@@ -56,7 +56,7 @@ prontera,55,350,5 script Peco Peco Breeder#knt 8W_SOLDIER,{
mes "the Peco Peco Ride skill first.";
close;
}
- else if(checkriding()) {
+ else if(checkmount()) {
mes "[Peco Peco Breeder]";
mes "You're already";
mes "mounted on a";
@@ -68,7 +68,7 @@ prontera,55,350,5 script Peco Peco Breeder#knt 8W_SOLDIER,{
close;
}
Zeny -= .@price;
- setriding;
+ setmount(MOUNT_PECO);
close;
case 2:
mes "[Peco Peco Breeder]";
@@ -112,14 +112,14 @@ prontera,232,318,3 script Peco Peco Breeder#cru 8W_SOLDIER,{
mes "bring "+.@price+" zeny...";
close;
}
- else if(getskilllv("KN_RIDING") == 0) {
+ else if(getskilllv(KN_RIDING) == 0) {
mes "[Peco Peco Breeder]";
mes "You must first learn";
mes "to ride a PecoPeco before";
mes "I can rent one to you.";
close;
}
- else if(checkriding()) {
+ else if(checkmount()) {
mes "[Peco Peco Breeder]";
mes "You are already";
mes "mounted on a Peco Peco.";
@@ -130,7 +130,7 @@ prontera,232,318,3 script Peco Peco Breeder#cru 8W_SOLDIER,{
close;
}
Zeny -= .@price;
- setriding;
+ setmount(MOUNT_NONE);
close;
case 2:
mes "[PecoPeco Breeder]";