Jump to content
  • 0

How to make refineui random option group ?


Question

2 answers to this question

Recommended Posts

  • 0
Posted

find the successrefitem(...) script commands

and add these

sd->inventory.u.items_inventory[i].option[index].id = id;
sd->inventory.u.items_inventory[i].option[index].value = value;
sd->inventory.u.items_inventory[i].option[index].param = param;

set the index, id, value, param to whatever random item bonus you want.

  • 0
Posted
On 10/15/2022 at 9:49 PM, Emistry said:

find the successrefitem(...) script commands

and add these

sd->inventory.u.items_inventory[i].option[index].id = id;
sd->inventory.u.items_inventory[i].option[index].value = value;
sd->inventory.u.items_inventory[i].option[index].param = param;

set the index, id, value, param to whatever random item bonus you want.

This is not a group 

group = id in item_randomopt_group.yml

example.

if  id->equip == EQP_ARMOR  random group 101

if  id->equip == EQP_SHIELD random group 102

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...