We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// for example gcv_iHealthPrice = "20", ga_iHealth[client] = 4 // gcv_fPriceModifier = 20
price = gcv_iHealthPrice.IntValue + (gcv_iPriceModifier.IntValue * ga_iHealth[client]); // 20 + 20*4 = 100
I suggest doing so: // for example gcv_fPriceModifier = 1.5
price = RoundToFloor(gcv_iHealthPrice.IntValue * Pow(gcv_fPriceModifier.FloatValue, ga_iHealth[client]*1.0)); // 20*1.5^4=101
on 2lvl 20 + 202 = 60 // before 201.5^2 = 45 // after on 10 lvl 20 + 2010 = 220 // before 201.5^10 = 1153 // after
The text was updated successfully, but these errors were encountered:
Done! See: #26
Sorry, something went wrong.
No branches or pull requests
// for example gcv_iHealthPrice = "20", ga_iHealth[client] = 4
// gcv_fPriceModifier = 20
I suggest doing so:
// for example gcv_fPriceModifier = 1.5
on 2lvl
20 + 202 = 60 // before
201.5^2 = 45 // after
on 10 lvl
20 + 2010 = 220 // before
201.5^10 = 1153 // after
The text was updated successfully, but these errors were encountered: