Jump to content
  • 0

Getitem2 random itemscript


Chaos92

Question


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1533
  • Reputation:   236
  • Joined:  08/03/12
  • Last Seen:  

can anyone help me , i need itemscript that can use getitem2 in random for example here is for getitem

getitem callfunc("F_Rand",558,529,2668,7518),1; },{},{}

i need for getitem2 so that i can give random refine level for those item, thanks !

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

just change the item_id part to

callfunc("F_Rand",558,529,2668,7518)

everything else is pretty much the same ....

getitem2 callfunc("F_Rand",558,529,2668,7518),..............................;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1533
  • Reputation:   236
  • Joined:  08/03/12
  • Last Seen:  

 

just change the item_id part to

callfunc("F_Rand",558,529,2668,7518)

everything else is pretty much the same ....

getitem2 callfunc("F_Rand",558,529,2668,7518),..............................;

but how if i want that refine level also random ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   27
  • Joined:  12/05/13
  • Last Seen:  

but how if i want that refine level also random ?

 

Use rand(min,max) for the refine argument, e.g.,

getitem2 <item id>,<amount>,<identify>,rand(5,10),<attribute>,<card1>,<card2>,<card3>,<card4>;

The above code will generate an item with a random refine rate of 5 ~ 10.

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...