OpenMU icon indicating copy to clipboard operation
OpenMU copied to clipboard

[Feature] Configurable Crafting Chance %

Open nitoygo opened this issue 1 year ago • 1 comments

There doesn't seem to have a way to configure the percentages of item crafting (e.g. Chaos Machine mix).
It would be nice to be able to fine-tune the settings of:

  • Each Item mix/upgrade type (Chaos Weapon, Equipment Upgrade, Wings, etc)
  • A Global +/- of percentages for all mix type (if there is a server-wide promo)
  • Account-specific percentages + (if using a P2W subscription)
  • Can be also applied to lotteries (e. g. Moss gamble, Lucky items)

The craft/mix action plugin should be modified to cosider the configured settings, and the Admin Panel should provide a page to configure the settings.

nitoygo avatar Jan 08 '25 10:01 nitoygo

Each Item mix/upgrade type (Chaos Weapon, Equipment Upgrade, Wings, etc)

We can extend the ItemCrafting for that.

A Global +/- of percentages for all mix type (if there is a server-wide promo) Account-specific percentages + (if using a P2W subscription)

I think a nice way to accomplish this is the attribute system. We already have a way to add these at several places:

  • GameMapDefinition.CharacterPowerUpDefinitions
  • CharacterClass.BaseAttributeValues
  • Account.Attributes
  • Character.Attributes

So adding a new Stat.CraftingBonusPercentage (AttributeDefinition) for that seems to be a flexible way.

sven-n avatar Jan 09 '25 18:01 sven-n