Jump to content
  • 0

How to make npc freebie item +7 with this script


elmucho

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  32
  • Reputation:   0
  • Joined:  05/27/17
  • Last Seen:  

This is the script https://pastebin.com/AhRffdCu please help me how to make item +7 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  02/07/17
  • Last Seen:  

*getitem2 "<item name>",<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>};

Example:

getitem2 1208,1,1,7,0,0,0,0,0; // +7 Main Gauche [4]

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

prontera,137,177,6	script	Freebies	717,{
if( !#Reward == 1 ) {	
	mes "Hey there here you get your freebie items..";
	getitem2 1208,1,1,7,0,0,0,0,0;
	getitem2 2102,1,1,7,0,0,0,0,0;
	getitem2 1208,1,1,7,0,0,0,0,0;
	getitem2 2402,1,1,7,0,0,0,0,0;
	getitem2 2502,1,1,7,0,0,0,0,0;
	getitem2 12208,1,1,7,0,0,0,0,0;
	set #Reward, 1;
}else{
	mes "You already taken freebie items,";
}
close;
OnInit:
       waitingroom "Freebies",0;
    end;
}

just change the values as your need

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L4397-L4400

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...