I'm using this script. But there's no rental for Paladin. Can someone fix this. thanks!
//===== eAthena Script =======================================
//= Breeder
//===== By: ==================================================
//= Ace
//===== Current Version: =====================================
//= 1.2
//===== Compatible With: =====================================
//= rAthena SVN 15400 and up.
//= Client that supports new mounts.
//===== Description: =========================================
//= Known as "Universal Rental NPC"
//= Let's a player rent a pecopeco, falcon, cart, warg
//= or ride a dragon, gryphon, and mado.
//===== Changelog: ===========================================
//= 1.1 Added Peco peco option, forgot to.
//= Changed KN_RIDING to RK_DRAGONTRAINING
//= for renting dragons.
//= 1.2 Added restrictions for renting falcons and wargs.
//= Added Warg Mastery skill requirement.
//===== Additional Comments: =================================
//= No bugs found so far.
//= Please report bugs to me([email protected])
//============================================================
- script gbreeder 448,{
mes "^FF0000Universal Rental NPC^000000";
mes "Greetings " + strcharinfo(0) + "!";
mes "How may I help you today?";
next;
switch(select("Rental Services:Cancel"))
{
case 1:
mes "^FF0000Universal Rental NPC^000000";
mes "Please select from the items below:";
switch(select("PecoPeco:Cart:Falcon:Wolf Flute:Dragon:Gryphon:Mado"))
{
case 1: // Pecopeco
if(BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING") > 0 && Class == 7 || Class == 14)
{
setriding;
mes "There you go, enjoy your Peco Peco!";
close;
} else {
mes "Sorry, please make sure that you have the required job and skill, also not riding one.";
close;
}
case 2: // Cart
if((BaseClass == Job_Merchant || Base_Job == Job_SuperNovice) && checkcart() == 0 && getskilllv("MC_PUSHCART") > 0)
{
setcart;
mes "There you go, enjoy your cart!";
close;
} else {
mes "Sorry, please make sure that you have the required job and skill, also not having a cart.";
close;
}
case 3: // Falcon
if(BaseJob != Job_Archer && BaseClass == Job_Archer && checkfalcon() == 0 && getskilllv("HT_FALCON") > 0)
{
if((Class == Job_Ranger || Class == Job_Ranger_T) && checkriding())
{
mes "Sorry, You can't rent a falcon while having a warg with you.";
close;
} else {
setfalcon;
mes "There you go, have fun with your falcon!";
close;
}
} else {
mes "Sorry, please make sure that you have the required job and skill, also not having a falcon.";
close;
}
case 4: // Warg
if(BaseClass == Job_Archer && countitem(6124) == 0 && getskilllv("RA_WUGMASTERY") > 0 && Class == Job_Ranger || Class == Job_Ranger_T)
{
if(checkfalcon())
{
mes "Sorry, You can't rent a warg while having a falcon with you.";
close;
} else {
getitem 6124, 1;
mes "There you go, have fun calling your Warg!";
close;
}
} else {
mes "Sorry, please make sure that you have the required job and skill.";
close;
}
case 5: // Dragon
if(checkriding() == 0 && getskilllv("KN_RIDING") > 0 && getskilllv("RK_DRAGONTRAINING") > 0 && Class == 4060 || Class == 4054)
{
atcommand "@mount";
setriding;
mes "There you go, don't let your dragon bite you!";
close;
} else {
mes "Sorry, please make sure that you have the required job and skill, and not riding one.";
close;
}
case 6: // Gryphon
if(checkriding() == 0 && getskilllv("KN_RIDING") > 0 && Class == 4066 || Class == 4073)
{
atcommand "@mount";
setriding;
mes "There you go, fly away with your gryphon... if you can.";
mes "*Laughing*";
close;
} else {
mes "Sorry, please make sure that you have the required job and skill, and not riding one.";
close;
}
case 7: // Mado
if(BaseJob != Job_Merchant && BaseClass == Job_Merchant && checkriding() == 0 && getskilllv("NC_MADOLICENCE") > 0 && Class == 4064 || Class == 4058)
{
atcommand "@mount";
setriding;
mes "There you go, be proud of your Mado!";
close;
} else {
mes "Sorry, please make sure that you have the required job and skill, and not riding one.";
close;
}
}
case 2:
mes "^FF0000Universal Rental NPC^000000";
mes "Alright, come again!";
close;
}
}
//===== Duplicates: ==========================================
prontera, 158, 185, 4 duplicate(gbreeder) Rental#1 448
//============================================================
Question
patr3k
I'm using this script. But there's no rental for Paladin. Can someone fix this. thanks!
Edited by patr3k3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.