diff options
author | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-19 15:08:03 +0000 |
---|---|---|
committer | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-19 15:08:03 +0000 |
commit | 03e84de8f771a6aaef956531adbaed28b6f4fce6 (patch) | |
tree | 85a8586b4837392581023302b73fd9f611947b26 /npc/merchants | |
parent | 380cf32eb6eab01d1d6786f9a1255a68a5f9aa1a (diff) | |
download | hercules-03e84de8f771a6aaef956531adbaed28b6f4fce6.tar.gz hercules-03e84de8f771a6aaef956531adbaed28b6f4fce6.tar.bz2 hercules-03e84de8f771a6aaef956531adbaed28b6f4fce6.tar.xz hercules-03e84de8f771a6aaef956531adbaed28b6f4fce6.zip |
* Fixed problems with third classes/new mounts in official "Renters" script, as per bugreport:6046 and bugreport:5924 (merchants\renters.txt)
* Small bug in El Dicastes quests fixed (quests\quests_dicastes.txt)
* Fixed two warps in the custom warper (custom\warper.txt)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16319 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants')
-rw-r--r-- | npc/merchants/renters.txt | 46 |
1 files changed, 38 insertions, 8 deletions
diff --git a/npc/merchants/renters.txt b/npc/merchants/renters.txt index 3d56bf75a..a0a866ca5 100644 --- a/npc/merchants/renters.txt +++ b/npc/merchants/renters.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= kobra_k88, mod by Lupus //===== Current Version: ===================================== -//= 1.9 +//= 2.0 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= @@ -21,6 +21,7 @@ //= 1.7 Updated to Aegis 10.3 standards. [L0ne_W0lf] //= 1.8 Added 3rd Job creature NPCs (Dragon/Gryphon) [L0ne_W0lf] //= 1.9 Enabled Gryphon Renter NPC and added Mado Gear NPC. [Masao] +//= 2.0 Fixed problems with third classes and new mounts. [Euphy] //============================================================ // PecoPeco Breeder (for Knights)------------------------------------------- @@ -30,7 +31,7 @@ prontera,55,350,5 script Peco Peco Breeder#knt 105,{ if(Upper==2) set .@price,2500; //Baby Peco mes "[Peco Peco Breeder]"; - if (BaseJob == Job_Knight) { + if (BaseJob == Job_Knight && Class < Job_Rune_Knight) { mes "Welcome."; mes "Honorable Knight,"; mes "would you like to rent"; @@ -62,6 +63,11 @@ prontera,55,350,5 script Peco Peco Breeder#knt 105,{ mes "Peco Peco."; close; } + else if(ismounting()) { + mes "[Peco Peco Breeder]"; + mes "Please remove your cash mount."; + close; + } set zeny,zeny-.@price; setriding; close; @@ -88,7 +94,7 @@ prontera,232,318,3 script Peco Peco Breeder#cru 105,{ if(Upper==2) set .@price,3500; //Baby Peco mes "[PecoPeco Breeder]"; - if (BaseJob == Job_Crusader) { + if (BaseJob == Job_Crusader && Class < Job_Rune_Knight) { if(Upper != 1 ) mes "Welcome, Crusader."; else mes "Welcome, Paladin."; mes "We have a special"; @@ -107,7 +113,6 @@ prontera,232,318,3 script Peco Peco Breeder#cru 105,{ mes "bring "+.@price+" zeny..."; close; } - else if(getskilllv("KN_RIDING") == 0) { mes "[Peco Peco Breeder]"; mes "You must first learn"; @@ -121,6 +126,11 @@ prontera,232,318,3 script Peco Peco Breeder#cru 105,{ mes "mounted on a Peco Peco."; close; } + else if(ismounting()) { + mes "[Peco Peco Breeder]"; + mes "Please remove your cash mount."; + close; + } set zeny,zeny-.@price; setriding; close; @@ -217,11 +227,16 @@ job3_rune01,88,62,5 script Dragon Breeder 105,{ mes "Please learn how to ride a Dragon first."; close; } - if (checkriding()) { + else if (checkriding()) { mes "[Dragon Breeder]"; mes "You already have a Dragon."; close; } + else if(ismounting()) { + mes "[Dragon Breeder]"; + mes "Please remove your cash mount."; + close; + } setdragon; close; case 2: @@ -249,11 +264,16 @@ prontera,130,213,5 script Riding Creature Master 105,{ mes "Please learn how to ride a Dragon first."; close; } - if (checkriding()) { + else if (checkriding()) { mes "[Riding Creature Master]"; mes "You already have a Dragon."; close; } + else if(ismounting()) { + mes "[Riding Creature Master]"; + mes "Please remove your cash mount."; + close; + } setdragon; close; case 2: @@ -272,11 +292,16 @@ prontera,130,213,5 script Riding Creature Master 105,{ mes "Please learn how to ride a Gryphon first."; close; } - if (checkriding()) { + else if (checkriding()) { mes "[Riding Creature Master]"; mes "You already have a Gryphon."; close; } + else if(ismounting()) { + mes "[Riding Creature Master]"; + mes "Please remove your cash mount."; + close; + } setriding; close; case 2: @@ -332,11 +357,16 @@ prontera,163,178,4 script Magic Gear Master 105,{ mes "Please learn how to use a Magic Gear first."; close; } - if (checkmadogear()) { + else if (checkmadogear()) { mes "[Magic Gear Master]"; mes "You already have a Magic Gear."; close; } + else if(ismounting()) { + mes "[Magic Gear Master]"; + mes "Please remove your cash mount."; + close; + } setmadogear; close; case 2: |