diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-02 19:11:52 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-02 19:11:52 -0300 |
commit | bf4f4649ea76895965283566ec6a88a2c5fc724f (patch) | |
tree | c9375c1b7c871171ba7a63a8766d59686ad576ff /db | |
parent | a852e0f6940ccb27023a607304e5518d2f2b15fe (diff) | |
download | serverdata-bf4f4649ea76895965283566ec6a88a2c5fc724f.tar.gz serverdata-bf4f4649ea76895965283566ec6a88a2c5fc724f.tar.bz2 serverdata-bf4f4649ea76895965283566ec6a88a2c5fc724f.tar.xz serverdata-bf4f4649ea76895965283566ec6a88a2c5fc724f.zip |
Problems
Diffstat (limited to 'db')
-rw-r--r-- | db/re/item_db.conf | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 6c055988f..d8dbb799f 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2227,11 +2227,26 @@ item_db: ( dispbottom l("You must reach level 5 to open this gift."); getitembound FriendGift, 1, 1; } - getitem any(ScorpionStinger, BugLeg, MaggotSlime), rand(1,3); - getitem any(ScorpionStinger, BugLeg, MaggotSlime), rand(1,3); + getitem ScorpionStinger, rand(1,3); + getitem BugLeg, rand(1,3); + getitem MaggotSlime, rand(1,3); Zeny=Zeny+50; - getitem any(Beer, CottonCloth), 1; - getitem any(PiouLegs, Piberries, Cheese), rand(2,3); + + if (rand(1,2) == 1) + getitem Beer, 1; + else + getitem CottonCloth, 1; + + .@it=PiouLegs; + switch(rand(1,3)) { + case 1: + .@it=PiouLegs;break; + case 2: + .@it=Piberries;break; + case 3: + .@it=Cheese;break; + } + getitem .@it, rand(2,3); dispbottom l("Dear @@, I send you this gift in hopes you do well in TMW2.", strcharinfo(0)); "> }, |