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

Consider showing optimal attribute algorithm #360

Open
amoeba opened this issue Aug 4, 2020 · 0 comments
Open

Consider showing optimal attribute algorithm #360

amoeba opened this issue Aug 4, 2020 · 0 comments
Labels

Comments

@amoeba
Copy link
Owner

amoeba commented Aug 4, 2020

From V's XPHelper:

Virindi XPHelper helps determine how much your character's primary attributes (strength, endurance, etc) should cost to raise based on the costs of your skills and secondary attributes (health, stamina, mana).

To determine this, the following algorithm is used for each primary attribute type:
optimal_cost = 0

foreach (skill or secondary attribute)
{
if (this skill depends on the current primary attribute)
{
optimal_cost = optimal_cost + cost_to_raise_this_skill / attribute_divisor_for_this_skill
}
}

@amoeba amoeba added the idea label Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant