diff options
author | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-24 04:04:45 +0000 |
---|---|---|
committer | euphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-24 04:04:45 +0000 |
commit | 8d8f130985bc23294cf928a5c872de9298fbff5d (patch) | |
tree | 7cdd1c6c3c1e82827a0c486b5f1a8550f3260cb1 /npc | |
parent | 9c259cbaabe6bdb05013d68e2e39fdabb3ca7ea3 (diff) | |
download | hercules-8d8f130985bc23294cf928a5c872de9298fbff5d.tar.gz hercules-8d8f130985bc23294cf928a5c872de9298fbff5d.tar.bz2 hercules-8d8f130985bc23294cf928a5c872de9298fbff5d.tar.xz hercules-8d8f130985bc23294cf928a5c872de9298fbff5d.zip |
* Added warg checks to Falcon Renter, bugreport:6546 (merchants\renters.txt)
* Follow-up r16695, finished documentating.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16696 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r-- | npc/merchants/renters.txt | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/npc/merchants/renters.txt b/npc/merchants/renters.txt index 0b7cafdd4..922aa088d 100644 --- a/npc/merchants/renters.txt +++ b/npc/merchants/renters.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= kobra_k88, mod by Lupus //===== Current Version: ===================================== -//= 2.1 +//= 2.2 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= @@ -23,6 +23,7 @@ //= 1.9 Enabled Gryphon Renter NPC and added Mado Gear NPC. [Masao] //= 2.0 Fixed problems with third classes and new mounts. [Euphy] //= 2.1 Moved some renters to a separate renewal file. [Daegaladh] +//= 2.2 Added warg checks. [Euphy] //============================================================ // PecoPeco Breeder (for Knights)------------------------------------------- @@ -158,6 +159,12 @@ hu_in01,381,304,5 script Falcon Breeder#hnt 105,{ mes "[Falcon Breeder]"; if (BaseJob == Job_Hunter) { + if (checkoption(Option_Wug) || checkoption(Option_Wugrider)) { + mes "Um..."; + mes "You can't rent a Falcon"; + mes "untill you dismiss your warg first!"; + close; + } mes "Do you need a Falcon?"; mes "You can rent your own"; mes "trusty bird of prey for a"; @@ -165,6 +172,13 @@ hu_in01,381,304,5 script Falcon Breeder#hnt 105,{ next; switch(select("Rent Falcon:Cancel")) { case 1: + if (checkoption(Option_Wug) || checkoption(Option_Wugrider)) { + mes "[Falcon Breeder]"; + mes "Um..."; + mes "You can't rent a Falcon"; + mes "untill you dismiss your warg first!"; + close; + } if (zeny < .@price) { mes "[Falcon Breeder]"; mes "What is this?"; |