diff options
author | j-tkay <joseph.tk.ea@gmail.com> | 2013-07-31 04:35:08 +0800 |
---|---|---|
committer | j-tkay <joseph.tk.ea@gmail.com> | 2013-07-31 04:35:08 +0800 |
commit | 4d6a69f0a44d3a0ce7bdf6c925f651014e47dcb3 (patch) | |
tree | 214eb3d6cb50120dbfee4f6de429bb8f46b17524 /npc/custom | |
parent | e14ab5561a53bc17c9186a22ecd07060772e6dc6 (diff) | |
download | hercules-4d6a69f0a44d3a0ce7bdf6c925f651014e47dcb3.tar.gz hercules-4d6a69f0a44d3a0ce7bdf6c925f651014e47dcb3.tar.bz2 hercules-4d6a69f0a44d3a0ce7bdf6c925f651014e47dcb3.tar.xz hercules-4d6a69f0a44d3a0ce7bdf6c925f651014e47dcb3.zip |
Fixed Bug #7486
- Fixed 'close' issues that causes players to stuck.
Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>
Diffstat (limited to 'npc/custom')
-rw-r--r-- | npc/custom/breeder.txt | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/npc/custom/breeder.txt b/npc/custom/breeder.txt index 2bb3c6274..fc4ebbafa 100644 --- a/npc/custom/breeder.txt +++ b/npc/custom/breeder.txt @@ -3,35 +3,47 @@ //===== By: ================================================== //= Euphy //===== Current Version: ===================================== -//= 1.1 +//= 1.2 //===== Description: ========================================= //= One-click automatic mount rentals. //= Replaced 'close' with 'end' [Streusel] +//= Fixed 'close' issues. [Joseph] //============================================================ prontera,124,201,1 script Universal Rental NPC 726,{ if (ismounting()) { message strcharinfo(0),"You must first remove your mount."; - end; } + end; + } 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 getitem 6124,1; + specialeffect2 EF_TEIHIT3; + close; + } + 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 setmadogear; + specialeffect2 EF_TEIHIT3; + close; + } + 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 setriding; + } else if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) setmadogear; else { message strcharinfo(0),"You do not meet requirements to rent."; - end; } + end; + } specialeffect2 EF_TEIHIT3; end; } |