Skip to content
mpetrovic edited this page May 19, 2011 · 6 revisions

Component The Stats component contains all stats for a given entity. This includes Characters, Items, and TempEffects. It also contains methods for aggregating these into a single Stat entity.

Properties:

  • HP
  • Attack - determines song strength for Reyvateils
  • Defense
  • Elemental Resistances (Fire/Ice/Wind/Water)
  • Level
  • XP -- remaining to level for players, amount rewarded for npcs
  • leaf -- 0 for players, amount rewarded for npcs
  • multipliers -- any multipliers for a given stat, keyed off of existing property
  • Vanguard
    • Speed
    • Critical Rate
    • Fire Damage
    • Ice Damage
    • Wind Damage
    • Lightning Damage
    • Number of Hits
    • Guard Range
    • Gauge Speed
  • Reyvateil
    • MP
    • Burst Reduction -- How much Burst Gauge is lost in Key Change
    • Influence -- How quickly indicators fill
    • Burst Speed -- How fast Burst Gauge increases
    • Harmonics -- How quickly Reyvateil harmonize with Vanguard
    • MD Resist -- Mana Consumption Rate
    • Reverb -- How long effects persist after Key Change
Methods:
  • get
  • get_raw -- does not take multipliers into affect
  • set
  • set_multi -- sets a multiplier for a stat
  • merge -- merges a Stat component into an existing one.
Clone this wiki locally