diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-08 12:20:17 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-08 12:20:17 -0300 |
commit | 9ca333a237bf209448bcb7cb435efeb112c0c8f4 (patch) | |
tree | 6918fa334aeca9af486d98d3230012c50bbbf0a9 /db/re/item_db.conf | |
parent | 9d7ebbcd5b7fc781e14e5e149f529c79450c795a (diff) | |
download | serverdata-9ca333a237bf209448bcb7cb435efeb112c0c8f4.tar.gz serverdata-9ca333a237bf209448bcb7cb435efeb112c0c8f4.tar.bz2 serverdata-9ca333a237bf209448bcb7cb435efeb112c0c8f4.tar.xz serverdata-9ca333a237bf209448bcb7cb435efeb112c0c8f4.zip |
[skip ci] tabulations %%e
Diffstat (limited to 'db/re/item_db.conf')
-rw-r--r-- | db/re/item_db.conf | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 78f5ca2e5..78d756adc 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2223,33 +2223,33 @@ item_db: ( noauction: true } Script: <" - if (BaseLevel < 5) { - dispbottom l("You must reach level 5 to open this gift."); - getitembound FriendGift, 1, 1; - } else { - getitem ScorpionStinger, rand(1,3); - getitem BugLeg, rand(1,3); - getitem MaggotSlime, rand(1,3); - Zeny=Zeny+50; + if (BaseLevel < 5) { + dispbottom l("You must reach level 5 to open this gift."); + getitembound FriendGift, 1, 1; + } else { + getitem ScorpionStinger, rand(1,3); + getitem BugLeg, rand(1,3); + getitem MaggotSlime, rand(1,3); + Zeny=Zeny+50; - if (rand(1,2) == 1) - getitem Beer, 1; - else - getitem CottonCloth, 1; + 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)); - rodex_sendmail_acc(#REFERRAL_PROG, "TMW2 Team", "Invite Accepted", "Your friend accepted your invite and got level 5!\nThe one who invites most will win the recruitment event!", rand(50,150)); - } + .@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)); + rodex_sendmail_acc(#REFERRAL_PROG, "TMW2 Team", "Invite Accepted", "Your friend accepted your invite and got level 5!\nThe one who invites most will win the recruitment event!", rand(50,150)); + } "> }, { |