Ayagikei / LifeUp

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

[Feature] 偏硬核的属性状态统计 #30

Open monologconnor opened 2 years ago

monologconnor commented 2 years ago

你的需求是否与某个问题相关联?请描述你遇到了什么问题。 请清晰地描述问题或者需求背景

随着对LifeUp的使用, 个人明显感觉到有对角色状态属性进行细分的需求, 如对健身群体来说"力量"这一项又可分为身体不同部位的锻炼, 如"肩部","腹部","腿部"等, 又如"知识"这一类也可分为对不同领域知识的掌握, "创造"这一类也可细分为"代码","厨艺"等, 不同的细分状态可以让用户知道自己在这一类属性下有具体的哪些方面不足, 从而对自己后续的规划可以有跟具体的安排

目前的版本中, 只能对上述的细分属性进行逐一创建且相互之间没有从属关系, 逐一创建后又会占据面板的大量空间, 也不好管理

描述你的解决方案 请清晰地描述你设想的解决方案

上述的需求不是每个用户都有, 个人认为可以给用户提供一个在普通的属性模式以及较为硬核的属性模式下进行选择的设置, 新模式下可对普通属性项创建多个"子属性". 如刚才提到的, "力量"属性下就可创建多个代表身体不同部位的"子属性", 且为了在父子属性之间引入相关性, 可以将父属性的数值由"经验值"更改为"系数", 如"力量"项的数值为"1.15", 则其子属性下所有项目的实际数值都会获得1.15倍的增益, 且在完成提升子属性任务的同时, 除了子属性自身的经验值增长, 相应的父属性"倍化系数"也可以得到一定增幅(惩罚同理)

(如果条件允许, 也可对特定子属性创建新一级的子属性, 可实现无限细分, 不过有点过于硬核...)

在统计页面中, 仅展示每个父属性的状态, (可根据特定乘积算法在后方显示这一类属性的总值), 点击特定父属性便可以在下方展开列出父属性下所有子属性的状态(即二级列表), 也可展示此父属性下所有子属性的占比, 了解自己的不足

额外信息 请在这里附上任意额外信息,如参考文件等。

个人不善于表述, 上文可能描述得比较难懂, 望谅解, 同时也感谢开发

Issues-translate-bot commented 2 years ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [Feature] Attribute status statistics for hard core

Is your requirement related to a problem? Please describe what problem you encountered. Please clearly describe the background of the problem or requirement

With the use of LifeUp, individuals clearly feel the need to subdivide the character status attributes. For example, for the fitness group, "strength" can be divided into exercises for different parts of the body, such as "shoulders", "Belly", "legs", etc., for example, "knowledge" can also be divided into mastery of knowledge in different fields, and "creation" can also be subdivided into "code", "cooking", etc. Different subdivision states can let users know what specific deficiencies they have under this type of attribute, so that they can have specific arrangements for their follow-up planning

In the current version, only the above-mentioned subdivision attributes can be created one by one and there is no affiliation with each other. After they are created one by one, they will occupy a lot of space on the panel and are not easy to manage.

Describe your solution Please clearly describe the solution you envision

Not every user has the above requirements. Personally, I think it is possible to provide users with a setting that can be selected in the ordinary attribute mode and the more hard-core attribute mode. In the new mode, multiple "sub-attributes" can be created for ordinary attribute items. . As just mentioned, under the "Strength" attribute, multiple "child attributes" representing different parts of the body can be created, and in order to introduce correlation between the parent and child attributes, the value of the parent attribute can be changed from "experience value" to "Factor", if the value of "Strength" item is "1.15", then the actual value of all items under its sub-attributes will gain 1.15 times the gain, and when completing the task of improving sub-attributes, in addition to the experience value of the sub-attributes themselves increase, the corresponding parent attribute "multiplication factor" can also be increased to a certain extent (same penalty)

(If conditions permit, you can also create a new level of sub-attributes for specific sub-attributes, which can achieve infinite subdivisions, but it is a bit too hardcore...)

In the statistics page, only the status of each parent attribute is displayed (the total value of this type of attribute can be displayed in the back according to a specific product algorithm), click on a specific parent attribute to expand and list all sub-attributes under the parent attribute. Status (that is, the second-level list), you can also display the proportion of all child attributes under this parent attribute to understand your own shortcomings

extra information Please attach any additional information here, such as references, etc.

I am not good at expressing myself, the above description may be difficult to understand, I hope for understanding, and thank you for the development

Ayagikei commented 2 years ago

不好意思,好几次看到都以为已经回复了orz。

属性过多确实不好管理,针对这一点确实需要解决方案。 我们会考虑实现类似多种属性绑定、组合(如解决方案中描述的子属性)的功能,但具体的机制可能还待定。

比如文中的父属性“倍化系数“具体的增幅体系之类的。

Issues-translate-bot commented 2 years ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Sorry, I thought I had already replied orz after seeing it several times.

Too many properties are really hard to manage, and a solution is really needed for this. We will consider implementing functionality similar to multiple property bindings and combinations (such as the sub-properties described in the solution), but the exact mechanism may be yet to be determined.

For example, the parent attribute "multiplier coefficient" in the text is a specific increase system and the like.