Jump to content

Elin:Code Analysis/Basics: Difference between revisions

(Add stamina calculation... but I'm still not sure what vBase is, can someone help?)
Line 74: Line 74:
* Each point of base endurance increase the base stamina number by 1.
* Each point of base endurance increase the base stamina number by 1.
* ('''Need confirmation''') For each skill a chracter have, increase this base stamina number by the level of that skill.
* ('''Need confirmation''') For each skill a chracter have, increase this base stamina number by the level of that skill.
** We suspect that the reason for using number of skill level instead of character level is the existence of Kumiromi's experience.
* The base stamina number go through a CURVE function with (base, 30, 10, 60).
* The base stamina number go through a CURVE function with (base, 30, 10, 60).
** This means, if the base stamina is less than 30, return that value.
** This means, if the base stamina is less than 30, return that value.
Line 81: Line 82:
** Base stamina 300, output is 77.9
** Base stamina 300, output is 77.9
* The output number is increased by 15, then modified by the vigor(Evalue(62))% of player.
* The output number is increased by 15, then modified by the vigor(Evalue(62))% of player.
==Carryweight Limit==
==Carryweight Limit==
<syntaxhighlight lang="c#" line="1">
<syntaxhighlight lang="c#" line="1">
355

edits