diff options
author | Trojal <trojal@gmail.com> | 2013-01-10 20:09:39 -0800 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-01-12 05:56:35 -0200 |
commit | c55855fcf627478f864c0f82a1a2f201fd407a38 (patch) | |
tree | b7f6d11b2058248d026f2d9944e8f4b6ac288d50 /npc/custom/breeder.txt | |
parent | 51bfeb38eb139e97e0e1c096c85c15fba234f35b (diff) | |
parent | 38e583df21eccd9e4f31d38acaae32579c6f0d27 (diff) | |
download | hercules-c55855fcf627478f864c0f82a1a2f201fd407a38.tar.gz hercules-c55855fcf627478f864c0f82a1a2f201fd407a38.tar.bz2 hercules-c55855fcf627478f864c0f82a1a2f201fd407a38.tar.xz hercules-c55855fcf627478f864c0f82a1a2f201fd407a38.zip |
Test1, testing for the commit widget, need to edit something.
Test2, testing for the commit widget, need to edit something.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'npc/custom/breeder.txt')
-rw-r--r-- | npc/custom/breeder.txt | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/npc/custom/breeder.txt b/npc/custom/breeder.txt new file mode 100644 index 000000000..de4460cd3 --- /dev/null +++ b/npc/custom/breeder.txt @@ -0,0 +1,50 @@ +//===== rAthena Script ======================================= +//= Universal Rental NPC +//===== By: ================================================== +//= Euphy +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= One-click automatic mount rentals. +//============================================================ + +prontera,124,201,1 script Universal Rental NPC 726,{ + if (ismounting()) { + message strcharinfo(0),"You must first remove your mount."; + close; } + else if ((eaclass()&EAJ_THIRDMASK==EAJ_RANGER) && !countitem(6124)) { + if (!checkfalcon() && getskilllv("HT_FALCON") && !checkoption(Option_Wug) && !checkoption(Option_Wugrider)) { + if(select(" ~ Falcon: ~ Warg")==1) setfalcon; + else getitem 6124,1; } + else getitem 6124,1; } + else if ((eaclass()&EAJ_THIRDMASK==EAJ_MECHANIC) && !checkcart() && getskilllv("MC_PUSHCART")) { + if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) { + if(select(" ~ Cart: ~ Mado")==1) setcart; + else setmadogear; } + else setcart; } + else if (!checkcart() && getskilllv("MC_PUSHCART")) setcart; + else if (!checkfalcon() && getskilllv("HT_FALCON") && !checkoption(Option_Wug) && !checkoption(Option_Wugrider)) setfalcon; + else if (!checkriding() && getskilllv("KN_RIDING")) { + if (eaclass()&EAJ_THIRDMASK==EAJ_RUNE_KNIGHT) setdragon; + else setriding; } + else if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) setmadogear; + else { + message strcharinfo(0),"You do not meet requirements to rent."; + close; } + specialeffect2 EF_TEIHIT3; + close; +} + +//============================================================ +// Old changelog +//============================================================ +//= A Free PecoPeco and Falcon Breeder +//= 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~. +//= 1.4 Optimized Script. No need for 50 million Labels. [Spre] +//============================================================
\ No newline at end of file |