diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-05-23 14:46:45 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-05-23 14:46:45 -0300 |
commit | 95221762b9dc1dbdc3951fa874e4ccd85e4cf727 (patch) | |
tree | d7f8f56bf8bc9f1ff4f97add80ad004b0362c80b /db | |
parent | 6a358f1328830d0d964b4beb8f18f211066f1e9b (diff) | |
download | serverdata-95221762b9dc1dbdc3951fa874e4ccd85e4cf727.tar.gz serverdata-95221762b9dc1dbdc3951fa874e4ccd85e4cf727.tar.bz2 serverdata-95221762b9dc1dbdc3951fa874e4ccd85e4cf727.tar.xz serverdata-95221762b9dc1dbdc3951fa874e4ccd85e4cf727.zip |
Fix gifts
Diffstat (limited to 'db')
-rw-r--r-- | db/re/item_db.conf | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index e9c6a2e8c..555b11bc1 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -1953,10 +1953,11 @@ item_db: ( noauction: true } Script: <" + // 0 1 2 3 4 5 6 7 8 9 setarray .@r, StrangeCoin, StrangeCoin, StrangeCoin, Arrow, SharpKnife, BugLeg, Cheese, Aquada, BronzeGladius, Aquada; .@n=rand(getarraysize(.@r)); - if (.@n >= 5) + if (.@n > 3) getitem .@r[.@n], 1; else getitem .@r[.@n], rand(5,10); @@ -1983,7 +1984,7 @@ item_db: ( setarray .@r, StrangeCoin, StrangeCoin, StrangeCoin, StrangeCoin, IronArrow, SnakeEgg, BronzeGift, Dagger, Aquada, Chagashroom, MoubooSteak, RedApple, IronOre, Coal, SilverRing; .@n=rand(getarraysize(.@r)); - if (.@n >= 6) + if (.@n > 4) getitem .@r[.@n], 1; else getitem .@r[.@n], rand(9,21); @@ -7836,9 +7837,9 @@ item_db: ( BuyingStore: true Sprite: 0 Script: <" - if (getpartnerid()) { - bonus bMaxHP,5; - } + if (getpartnerid()) { + bonus bMaxHP,5; + } "> }, { |