diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2012-08-28 09:37:53 +0200 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2012-08-28 09:40:31 +0200 |
commit | 76b83fa90876685bbd1dc637fb1c80fcc6f1f643 (patch) | |
tree | 3075254334659602c821bd65934379e8f84761fe /world/map | |
parent | 266b5711f5eff4aca5c34584720382bc5955cd3e (diff) | |
download | serverdata-76b83fa90876685bbd1dc637fb1c80fcc6f1f643.tar.gz serverdata-76b83fa90876685bbd1dc637fb1c80fcc6f1f643.tar.bz2 serverdata-76b83fa90876685bbd1dc637fb1c80fcc6f1f643.tar.xz serverdata-76b83fa90876685bbd1dc637fb1c80fcc6f1f643.zip |
PvPEvent: Add a minimum for the price.
Diffstat (limited to 'world/map')
-rw-r--r-- | world/map/npc/009-6/brodomir.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/world/map/npc/009-6/brodomir.txt b/world/map/npc/009-6/brodomir.txt index c2743366..f60bef1d 100644 --- a/world/map/npc/009-6/brodomir.txt +++ b/world/map/npc/009-6/brodomir.txt @@ -105,8 +105,10 @@ L_Fool: L_Pay: mes "[Brodomir]"; - mes "\"How much money do you want to sponsor as price?\""; + mes "\"How much money do you want to sponsor as price? It should be at least 5000GP.\""; input @brodomir_money; + if (@brodomir_money < 5000) + goto L_TooCheap; if ($@BRODOMIR_PVP_STATUS == 1) goto L_Wait; if (getareausers("009-6.gat", 20, 20, 80, 80, 1) < 3) @@ -210,6 +212,11 @@ L_NotEnoughMoney: mes "\"You don't have enough money.\""; goto L_Close; +L_TooCheap: + mes "[Brodomir]"; + mes "\"That's too cheap as a price.\""; + goto L_Close; + L_Cleanup: pvpoff "009-5.gat"; set $@BRODOMIR_PVP_STATUS , 0; |