Ayagikei / LifeUp

Pure and highly customizable gamified to-do and habit-forming app.
209 stars 4 forks source link

[Feature] Set Custom Formula for Gold / XP #147

Open bozoberg opened 6 months ago

bozoberg commented 6 months ago

Is your feature request related to a problem? Please describe. It is difficult and time consuming to set the coin and xp reward on every task; however, the "auto" calculation uses a formula that is not viewable or customizable. If the user wants to use the "auto" formula for task rewards, then they need to base everything else in the app off this formula with minimal visibility or understanding.

Describe the solution you'd like Similar to Settings > Advanced > Customize Level, Create Settings > Advanced > Customize Reward Where "Importance" is a base value per level and "Difficulty" is a multiplier of that value.

Example: Gold Reward Calculation: Importance: 1: 5, 2: 10, 3: 20, 4: 30 Difficulty: 1: 1x 2: 1.25x 3: 1.5x 4: 2x Experience Reward Calculation: (Same structure as above)

In this formula, a task with 3 Importance and 2 Difficulty would Reward 25 gold (20x1.25).

bozoberg commented 6 months ago

Additionally, this customization could include adjusting the XP scaling factor when adding multiple attributes.

I would prefer it if selecting multiple attributes meant that the XP was shared (not nearly doubled); for example, a 500XP Reward split between VIT and END would provide 250XP each (0% XP Share).

The other extreme is that a 500XP reward between VIT and END would provide 500XP each (100% XP Share). Allowing the user to set a custom percentage from 0-100% would allow much more control in the leveling system.

douglasg14b commented 3 months ago

Supporting this.

Being able to customize difficulty levels and the formula for how rewards are calculated would be really nice. Adding a couple difficulty levels would also be helpful.

Especially if you're like me and treat difficulty levels as an exponential scale. Doing 100 squats/day might be a lvl 2. But deep cleaning the kitchen is a lvl5, and is probably 10x more difficult, at least. The auto calculated rewards don't align with this difficulty scale 🤔