Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Configurable Crafting Chance % #576

Open
nitoygo opened this issue Jan 8, 2025 · 1 comment
Open

[Feature] Configurable Crafting Chance % #576

nitoygo opened this issue Jan 8, 2025 · 1 comment

Comments

@nitoygo
Copy link
Contributor

nitoygo commented Jan 8, 2025

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 nitoygo changed the title [Feature] Configurable Craft Item Chances [Feature] Configurable Crafting Chance % Jan 9, 2025
@sven-n
Copy link
Member

sven-n commented Jan 9, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants