Moubootaur Legends

Friend Gift - Item DB

Friend Gift | 612

Sent by your friend. Can be open at level 5.

ID 612
type IT_USABLE

This Item has Trade restrictions

ID for use in Discord:
Expert View

You'd like to see behind the curtain? Then you are here at the right place - lots of data only contributors would normally see.

Open raw JSON
ID 612
aegisName FriendGift
Script

Script to execute when the item is used/equipped.

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;

	[email protected]=PiouLegs;
	switch(rand(1,3)) {
	case 1:
[email protected]=PiouLegs;break;
	case 2:
[email protected]=Piberries;break;
	case 3:
[email protected]=Cheese;break;
	}
	getitem [email protected], rand(2,3);
	dispbottom l("Dear @@, I send you this gift in hopes you do well in TMW2.", strcharinfo(0));
$REFERRAL_IDS[	[email protected]=callfunc("gf_charid", 	rodex_sendmail([email protected], "TMW2 Team", "Invite Accepted", strcharinfo(0)+" accepted your invite and got level 5!\nAs they get stronger, more rewards will be sent to you!", rand(25,50));
}