Difference between revisions of "Virindi XPHelper"

From VirindiPlugins
Jump to: navigation, search
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[file:Virindi XPHelper Screenshot.png]]
 
[[file:Virindi XPHelper Screenshot.png]]
 +
 +
Opened by the fin icon [[image:XPHelper_Icon.PNG]]
  
 
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).
 
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:<br>
 
To determine this, the following algorithm is used for each primary attribute type:<br>
<div class=code>
+
<div class=code>optimal_cost = 0<br>
 
foreach (skill or secondary attribute)<br>
 
foreach (skill or secondary attribute)<br>
 
{<br>
 
{<br>
&nbsp;&nbsp;optimal_cost = 0<br>
 
 
&nbsp;&nbsp;if (this skill depends on the current primary attribute)<br>
 
&nbsp;&nbsp;if (this skill depends on the current primary attribute)<br>
 
&nbsp;&nbsp;{<br>
 
&nbsp;&nbsp;{<br>

Latest revision as of 12:47, 5 February 2015

Virindi XPHelper Screenshot.png

Opened by the fin icon XPHelper Icon.PNG

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
  }

}