diff options
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)); + } "> }, { |