Jump to content
3 votes
Guests cannot vote

Improvement ItemOptionStatic add new random option function

  • Views: 127
  • Submitted:

The idea is to add to the plugin the possibility to set random options to the items.
Currently we define through an ID the option right?

The idea would be to add the possibility of defining a unique value that would make the system deliver a random option to the item whose value was defined as random.

Example:

<Item Cat="0" Index="130" MinLevel="14" SocketCount="0" OptionIndex="3" OptionValue="5" OptionProbability="2" Ancient="-1" Excellent="3" />

In the example above the item would receive the option of Id 3 = :

Stun enemy for %d seconds (Chance %d%%)

If the Server Administrator set : -1 in OptionIndex="-1" the system would apply a random option to the item when the item meets the requirements defined in the system.
This could also be done for probability:

If set to : -1 the value is randomly set by the system.

0-100

I believe this will bring the plugin more visibility.

User Feedback

Recommended Comments

There are no comments to display.

×
×
  • Create New...

Important Information


We use technologies, such as cookies, to customize content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy.