Jump to content
  • 0

How to remove a specific random option on an equipment?


mawjustin

Question


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   6
  • Joined:  09/26/14
  • Last Seen:  

Hi Team,

How do we remove a specific random option only? I understand that we can just reroll it instead of removing, but I'm curious if we can only remove it instead of reroll.

Example: I want to remove Max HP +1 only.

image.png.9aaa897dbf03872e44f3d86ecf2df8db.png

This script does not work.

.enval = 0;
.randomizedfinal = 0;
setrandomoption(.part,.enindex,.randomizedfinal,.enval,0);


image.png.88c87db7467012d1d09c66b93dced05b.png

Is there a way to do this via script? or if not can we do this via db?

 

Thank you.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1

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

7 hours ago, mawjustin said:

Hi Team,

How do we remove a specific random option only? I understand that we can just reroll it instead of removing, but I'm curious if we can only remove it instead of reroll.

Example: I want to remove Max HP +1 only.

image.png.9aaa897dbf03872e44f3d86ecf2df8db.png

This script does not work.

.enval = 0;
.randomizedfinal = 0;
setrandomoption(.part,.enindex,.randomizedfinal,.enval,0);


image.png.88c87db7467012d1d09c66b93dced05b.png

Is there a way to do this via script? or if not can we do this via db?

 

Thank you.

you can use db such as phpmyadmin. check the inventory table, see the data, should have the part for randomoption.

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