Vali Posted May 10, 2012 Posted May 10, 2012 Well, is there a way to know if a player has a specified skill in the skill tree? Thank you. Quote
GM Takumirai Posted May 10, 2012 Posted May 10, 2012 example is in renting a mado required a license skills if (BaseJob != Job_Merchant && BaseClass == Job_Merchant && checkriding() == 0 && getskilllv("NC_MADOLICENCE")>0 && Class == 4064 || Class == 4058) {atcommand "@mount"; close; Quote
Vali Posted May 10, 2012 Author Posted May 10, 2012 What is the file of renting mado? I cant find it in the scripts. Thank you! example is in renting a mado required a license skills if (BaseJob != Job_Merchant && BaseClass == Job_Merchant && checkriding() == 0 && getskilllv("NC_MADOLICENCE")>0 && Class == 4064 || Class == 4058) {atcommand "@mount"; close; Quote
deathscythe13 Posted May 10, 2012 Posted May 10, 2012 (edited) npc/merchants/renters.txt uh edit: its only rune knight peco breeder in there xD, i think there is none yet for renting mado, only custom made Edited May 10, 2012 by deathscythe13 Quote
GM Takumirai Posted May 10, 2012 Posted May 10, 2012 (edited) This is not mine but im going to share it prontera,162,179,5 script Magic Gear Master 105,{mes "[Magic Gear Master]"; mes "Hi, here you can rent Magic Gears from me."; next; switch(select("Magic Gear:No Thanks")) { case 1: if (BaseJob != Job_Merchant && BaseClass == Job_Merchant && checkriding() == 0 && getskilllv("NC_MADOLICENCE")>0 && Class == 4064 || Class == 4058) { atcommand "@mount"; close; }else{ mes "[Magic Gear Master]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; } case 2: close; } } - credits to eAthena Edited May 10, 2012 by GM Takumirai Quote
Question
Vali
Well, is there a way to know if a player has a specified skill in the skill tree?
Thank you.
5 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.