Stats

Player stats are determined by the attributes of characters, jobs, items, and skills. Previously, the order in which attributes were applied could lead to differences in the final stat results (e.g., addition after multiplication versus multiplication after addition). To address this, the method of calculating and applying stats has been revised for consistency, as outlined below:


Base Stats

  • The base stats are determined by adding the increases from job attributes to the initial stats for each level of the job.

  • Similarly, increases from items and character attributes are calculated based on the base stats using the methods below.


Calculation Method

  • Multiplicative and percentage-based additions/multiplications are calculated relative to the initial values at each level.

  • Example of Base Stats Calculation:

    • Job-level base stats are calculated by applying only the increases from job attributes to the initial stats.


Stats Increased by Items

Items increase stats based on the base stats. Currently, there are four ways to apply increases from item attributes:

  1. Simple Addition

  2. Simple Multiplication

  3. Percentage Addition

  4. Percentage Multiplication

These can be unified in expression despite differences in calculation methods:

  • +50% = *150% = *1.5

  • +200% = *300% = *3

  • Various expressions like +50%, x150%, x1.5 all result in the same stat increase.


Example with Item Attributes:

  • If an item has the following attributes:

    • attackPlus = 70

    • attackPercent = 5

  • At item level 0, attackPlus outputs 70, and attackPercent outputs 5.

  • At item level 1:

    • attackPlus outputs 70 + 100 = 170.

    • attackPercent outputs 5 + (105 - 100) = 10.


Stats Increased by Item Options

  • A new system allows options to increase the item's unique stats. This does not depend on the character's current stat values.

  • Only simple addition stats (e.g., {{statNamePlus}}) are affected.

Example:

  • If an item's attackPlus is 100 and it has a +10% option:

    • The increase is calculated as 100 + 100 * (10/100) = 110.

    • The increase from the option (100 * 10/100 = 10) is output as {{attackPlusOption}}.

    • The total stat increase (base stat + option increase) is output as {{attackPlusTotal}} = 110.


Example Scenarios

  1. Without Options:

    • Base attributes:

      • Set Stat attack +100

      • Set Stat attack +5%

    • Outputs:

      • {{attackPlus}} = 100

      • {{attackPlusOption}} = 0

      • {{attackPlusTotal}} = 100

      • {{attackPercent}} = 5

  2. With 1 Option:

    • Attributes:

      • Set Item Stat attack +10%

    • Outputs:

      • {{attackPlus}} = 100

      • {{attackPlusOption}} = 100 * (10/100) = 10

      • {{attackPlusTotal}} = 110

      • {{attackPercent}} = 5

  3. With 3 Options:

    • Attributes:

      • Set Item Stat attack +10%

      • Set Item Stat attack +20

      • Set Item Stat attack +5%

    • Outputs:

      • {{attackPlus}} = 100

      • {{attackPlusOption}} = 100 * (10/100) + 20 + 100 * (5/100) = 35

      • {{attackPlusTotal}} = 135

      • {{attackPercent}} = 5


Updated Stat Calculation Method

Previously, stats were calculated sequentially, accumulating stat increases from attributes.

  • Example 1:

    • Base Attack: 100

    • First Attribute: +50: 100 + 50 = 150

    • Second Attribute: +50%: 150 + 150 * (50/100) = 225

  • Example 2:

    • Base Attack: 100

    • First Attribute: +50%: 100 + 100 * (50/100) = 150

    • Second Attribute: +50: 150 + 50 = 200

With the revised calculation method, multiplicative increases are based on the job's base stats, ensuring consistent results regardless of the order.

  • Example 3:

    • Base Attack: 100

    • First Attribute: +50: 100 + 50 = 150

    • Second Attribute: +50%: 150 + 100 * (50/100) = 200

Last updated