Jump to content
  • 0

Random Option System (YML)


Lullaby

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   2
  • Joined:  04/06/20
  • Last Seen:  

Hi guys!
I'm using the latest rAthena version, and I need help with Random Option System.

There is a guide in the current .yml files, but there is no example of how to complete the columns. I'm not managing to create a random option. ?
Anyone can help me?
 

Spoiler

###########################################################################
# Item Random Option Group Database
###########################################################################
#
# Item Random Option Group Settings
#
###########################################################################
# - Id                  Item Random Option Group ID.
#   Group               Item Random Option Group constant.
#   Slots:              Slot in which an Item Random Option is guaranteed to be applied. Max of MAX_ITEM_RDM_OPT.
#     - Slot            Slot number.
#       Options:        List of possible Item Random Options for slot.
#         - Option      Item Random Option constant.
#           MinValue    Minimum value. (Default: 0)
#           MaxValue    Maximum value. (Default: 0)
#           Param       Parameter value. (Default: 0)
#           Chance      Chance applied specifically to this Item Random Option (1 = 0.01%, 10000 = 100%). (Default: 0)
#   MaxRandom           Maximum amount of random options applied. These options are not guaranteed to be applied. Max of (MAX_ITEM_RDM_OPT - Total 'Slots'). (Default: 0)
#   Random:             List of possible Item Random Options for remaining slots. (Optional)
#     - Option          Item Random Option constant.
#       MinValue        Minimum value. (Default: 0)
#       MaxValue        Maximum value. (Default: 0)
#       Param           Parameter value. (Default: 0)
#       Chance          Chance applied specifically to this Item Random Option (1 = 0.01%, 10000 = 100%). (Default: 0)
###########################################################################

 

How should I fill in this yml files: item_randomopt_group.yml and item_randomopt_db.yml? I need to edit enumvar too?
How can I create a Random STR Option, for example?
I really need a walkthrough

Thanks!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  255
  • Reputation:   233
  • Joined:  07/24/13
  • Last Seen:  

12 hours ago, Lullaby said:

Hi guys!
I'm using the latest rAthena version, and I need help with Random Option System.

There is a guide in the current .yml files, but there is no example of how to complete the columns. I'm not managing to create a random option. ?
Anyone can help me?
 

  Hide contents

###########################################################################
# Item Random Option Group Database
###########################################################################
#
# Item Random Option Group Settings
#
###########################################################################
# - Id                  Item Random Option Group ID.
#   Group               Item Random Option Group constant.
#   Slots:              Slot in which an Item Random Option is guaranteed to be applied. Max of MAX_ITEM_RDM_OPT.
#     - Slot            Slot number.
#       Options:        List of possible Item Random Options for slot.
#         - Option      Item Random Option constant.
#           MinValue    Minimum value. (Default: 0)
#           MaxValue    Maximum value. (Default: 0)
#           Param       Parameter value. (Default: 0)
#           Chance      Chance applied specifically to this Item Random Option (1 = 0.01%, 10000 = 100%). (Default: 0)
#   MaxRandom           Maximum amount of random options applied. These options are not guaranteed to be applied. Max of (MAX_ITEM_RDM_OPT - Total 'Slots'). (Default: 0)
#   Random:             List of possible Item Random Options for remaining slots. (Optional)
#     - Option          Item Random Option constant.
#       MinValue        Minimum value. (Default: 0)
#       MaxValue        Maximum value. (Default: 0)
#       Param           Parameter value. (Default: 0)
#       Chance          Chance applied specifically to this Item Random Option (1 = 0.01%, 10000 = 100%). (Default: 0)
###########################################################################

 

How should I fill in this yml files: item_randomopt_group.yml and item_randomopt_db.yml? I need to edit enumvar too?
How can I create a Random STR Option, for example?
I really need a walkthrough

Thanks!

You can see example in main file for Renewal:
https://github.com/rathena/rathena/blob/master/db/re/item_randomopt_group.yml

Edited by Balfear
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   2
  • Joined:  04/06/20
  • Last Seen:  

On 12/9/2020 at 10:48 AM, Balfear said:

Thank you! This file was not available in my rAthena, but I found it on the internet!

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