summaryrefslogtreecommitdiff
path: root/npc/merchants/renters.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/merchants/renters.txt')
-rw-r--r--npc/merchants/renters.txt30
1 files changed, 15 insertions, 15 deletions
diff --git a/npc/merchants/renters.txt b/npc/merchants/renters.txt
index cac757f85..00ff18dd5 100644
--- a/npc/merchants/renters.txt
+++ b/npc/merchants/renters.txt
@@ -26,9 +26,9 @@
// PecoPeco Breeder (for Knights)-------------------------------------------
prontera,55,350,5 script Peco Peco Breeder#knt 8W_SOLDIER,{
- if(Upper==0) set .@price,2500; //Normal Peco - default price
- if(Upper==1) set .@price,2500; //Armored Peco
- if(Upper==2) set .@price,2500; //Baby Peco
+ if(Upper==0) .@price = 2500; //Normal Peco - default price
+ if(Upper==1) .@price = 2500; //Armored Peco
+ if(Upper==2) .@price = 2500; //Baby Peco
mes "[Peco Peco Breeder]";
if (BaseJob == Job_Knight && Class < Job_Rune_Knight) {
@@ -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]";
@@ -88,9 +88,9 @@ prontera,55,350,5 script Peco Peco Breeder#knt 8W_SOLDIER,{
// Grand PecoPeco Breeder (for Crusaders)-------------------------------------------
prontera,232,318,3 script Peco Peco Breeder#cru 8W_SOLDIER,{
- if(Upper==0) set .@price,3500; //Normal Peco - default price
- if(Upper==1) set .@price,3500; //Armored Peco
- if(Upper==2) set .@price,3500; //Baby Peco
+ if(Upper==0) .@price = 3500; //Normal Peco - default price
+ if(Upper==1) .@price = 3500; //Armored Peco
+ if(Upper==2) .@price = 3500; //Baby Peco
mes "[PecoPeco Breeder]";
if (BaseJob == Job_Crusader && Class < Job_Rune_Knight) {
@@ -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_PECO);
close;
case 2:
mes "[PecoPeco Breeder]";
@@ -149,9 +149,9 @@ prontera,232,318,3 script Peco Peco Breeder#cru 8W_SOLDIER,{
// Falcon Master--------------------------------------------------------------
hu_in01,381,304,5 script Falcon Breeder#hnt 8W_SOLDIER,{
- if(Upper==0) set .@price,2500; //Normal Falcon - default price
- if(Upper==1) set .@price,2500; //Scarf Falcon
- if(Upper==2) set .@price,2500; //Baby Falcon
+ if(Upper==0) .@price = 2500; //Normal Falcon - default price
+ if(Upper==1) .@price = 2500; //Scarf Falcon
+ if(Upper==2) .@price = 2500; //Baby Falcon
mes "[Falcon Breeder]";
if (BaseJob == Job_Hunter) {