Moubootaur Legends

Friend Gift - Item DB

Friend Gift | 612

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

ID 612

Mobs that drop this item:

No Monsters drop this item.

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 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);

	if (rand(1,2) == 1)
getitem Beer, 1;
getitem CottonCloth, 1;

	switch(rand(1,3)) {
	case 1:
	case 2:
	case 3:
	getitem .@it, rand(2,3);
	dispbottom l("Dear @@, I send you this gift in hopes you do well in TMW2.", strcharinfo(0));
$REFERRAL_IDS[	.@charid=callfunc("gf_charid", 	rodex_sendmail(.@charid, "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));