diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-25 06:54:26 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-25 06:54:26 +0000 |
commit | 1d8592b23ce221f543fb9978c88620f70280c885 (patch) | |
tree | 66b363ecaa0da42195d2c9d1b8e5cd6fe8cc33a2 /npc/custom/breeder.txt | |
parent | 0f82fd5bc403400dc9464a8f02298416b99b0bbc (diff) | |
download | hercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.gz hercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.bz2 hercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.xz hercules-1d8592b23ce221f543fb9978c88620f70280c885.zip |
- Standardized script headers, starting with /npc/custom/
http://rathena.org/wiki/Script_header
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15262 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/breeder.txt')
-rw-r--r-- | npc/custom/breeder.txt | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/npc/custom/breeder.txt b/npc/custom/breeder.txt index cec5fc522..580042b45 100644 --- a/npc/custom/breeder.txt +++ b/npc/custom/breeder.txt @@ -1,53 +1,53 @@ -//===== rAthena Script ======================================= -//= Custom Free Breeder aka Universal Renter (not reccomended) -//===== By: ================================================== -//= rAthena Team -//===== Current Version: ===================================== +//===== rAthena Script ======================================= +//= Universal Rental NPC +//===== By: ================================================== +//= rAthena Dev Team +//===== Current Version: ===================================== //= 1.3a -//===== Compatible With: ===================================== -//= rAthena 1.0 Final + -//===== Description: ========================================= +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= //= A Free PecoPeco and Falcon Breeder -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.1 FIXED checkriding/cart/falcon funcs [Lupus] //= 1.2 Added Rebirth/Advanced Class support [Mass Zero] //= 1.3 Simplified the checks of job [Silentdragon] //= 1.3a Fixed a Typo Error. [Samuray22] -// -Thanks to ~AnnieRuru~. +//= Thanks to ~AnnieRuru~. //= 1.4 Optimized Script. No need for 50 million Labels. [Spre] -//============================================================ - +//============================================================ + prontera,124,201,1 script Universal Rental Npc 726,{ mes "[Universal Rental Npc]"; mes "Hi, here you can rent Carts, Falcons or Pecopecos."; next; switch(select("Cart:Falcon:Peco")) { - case 1: - if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice) && checkcart() == 0 && getskilllv("MC_PUSHCART")>0) { - setcart; - close; - }else{ - mes "[Universal Rental Npc]"; - mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; - close; - } - case 2: - if(BaseJob != Job_Archer && BaseClass == Job_Archer && checkfalcon() == 0 && getskilllv("HT_FALCON")>0) { - setfalcon; - close; - }else{ - mes "[Universal Rental Npc]"; - mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; - close; - } - case 3: - if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0) { - setriding; - close; - }else{ - mes "[Universal Rental Npc]"; - mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; - close; - } + case 1: + if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice) && checkcart() == 0 && getskilllv("MC_PUSHCART")>0) { + setcart; + close; + } else { + mes "[Universal Rental Npc]"; + mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; + close; + } + case 2: + if(BaseJob != Job_Archer && BaseClass == Job_Archer && checkfalcon() == 0 && getskilllv("HT_FALCON")>0) { + setfalcon; + close; + } else { + mes "[Universal Rental Npc]"; + mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; + close; + } + case 3: + if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0) { + setriding; + close; + } else { + mes "[Universal Rental Npc]"; + mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; + close; + } } } |