Jump to content
  • 0

Random Option System to include original drops (with no extra script attached)


biali

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   2
  • Joined:  01/23/14
  • Last Seen:  

Hi guys!

is it possible to have the random option system in place but have the original equips dropped too with a certain probability?

 

thank you in advance!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   2
  • Joined:  01/23/14
  • Last Seen:  

Hi Mael! Thank you again!

I managed to do it yesterday, I will leave it here just in case someone else is interested:

in item_randomopt_db.txt, I've included a line in the end:

RDMOPT_NONE,{}

in item_randomopt_group.txt, for each group, I've set:

RDMOPTG_OHStaff,1,RDMOPT_NONE,0,0

in const.txt, I've set:

RDMOPT_NONE	194

Server-side that is it. You are gonna receive a warning when (re)starting the server but that doesnt seem to cause any harm.

On the client-side, I had to change two files: 

On addrandomoptionnametable.lub , before the last line:

[EnumVAR.NONE[1]] = "A classic equipment.",

 and on enunvar.lub, again before the last line, add:

NONE = {194, 0},

That is it! You now have a chance to have items with no extra "buffs" at all along with the buffed ones.

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  832
  • Reputation:   317
  • Joined:  02/11/19
  • Last Seen:  

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