パッケージ model.character

クラス Flins


public class Flins extends Character
Custom "Lunar" Electro polearm character implementation.

Mechanics overview:

  • Manifest Flame form (Skill — out of form) — enters a 10 s form that infuses Normal Attacks with Electro and grants 1 Electro particle per NA (2 s CD).
  • Northland Spearstorm (Skill — in form) — Electro Skill hit with a 6 s CD; activates the 6 s Thunderous Symphony state.
  • Ancient Ritual: Cometh the Night (Burst, cost 80) — initial + 2–4 middle + final Electro hits; extra middle hits when Thundercloud is active.
  • Thunderous Symphony (Burst, cost 30) — fired while Thunderous Symphony is active; deals main + optional Additional hit when Thundercloud is active.
  • Whispering Flame passive — grants EM equal to 8% of ATK (max 160) and LUNAR_UNIQUE_BONUS +20%.
  • Lunar Base Bonus team buff — provides LUNAR_BASE_BONUS scaling with ATK: min(0.14, ATK / 100 * 0.007).

Flins is a Lunar character (isLunarCharacter() returns true). Burst energy cost switches between 80 (standard) and 30 (Thunderous Symphony active).

  • コンストラクタの詳細

    • Flins

      public Flins(Weapon weapon, ArtifactSet artifacts)
      Constructs Flins with the given weapon and artifact set. Initialises level-90 base stats (loaded from CSV), Electro element, and cooldowns.
      パラメータ:
      weapon - equipped weapon
      artifacts - equipped artifact set
  • メソッドの詳細

    • getEnergyCost

      public double getEnergyCost()
      Returns the burst energy cost: 30 when Thunderous Symphony is active, otherwise 80.
      定義:
      getEnergyCost クラス内 Character
      戻り値:
      burst energy cost
    • isThunderousSymphonyActive

      public boolean isThunderousSymphonyActive(double currentTime)
      Returns whether Thunderous Symphony state is currently active and updates the cached thunderousSymphonyActive flag.
      パラメータ:
      currentTime - current simulation time in seconds
      戻り値:
      true if Thunderous Symphony has not yet expired
    • getSkillCDRemaining

      public double getSkillCDRemaining(double currentTime)
      Returns the remaining skill cooldown. While in Manifest Flame form the cooldown is gated by Northland Spearstorm's 6 s CD; otherwise the standard form-entry CD applies.
      オーバーライド:
      getSkillCDRemaining クラス内 Character
      パラメータ:
      currentTime - current simulation time in seconds
      戻り値:
      remaining cooldown in seconds
    • getBurstCDRemaining

      public double getBurstCDRemaining(double currentTime)
      Returns the remaining burst cooldown. When Thunderous Symphony is active the burst can be cast immediately (returns 0).
      オーバーライド:
      getBurstCDRemaining クラス内 Character
      パラメータ:
      currentTime - current simulation time in seconds
      戻り値:
      remaining cooldown in seconds
    • isBurstActive

      public boolean isBurstActive(double currentTime)
      Returns false; Flins has no persistent burst state tracked by the base class.
      オーバーライド:
      isBurstActive クラス内 Character
      パラメータ:
      currentTime - simulation time in seconds
      戻り値:
      true if the burst is active
    • isLunarCharacter

      public boolean isLunarCharacter()
      Returns true; Flins is a Lunar character and benefits from Lunar synergy buffs.
      オーバーライド:
      isLunarCharacter クラス内 Character
      戻り値:
      true if this is a Lunar character
    • applyPassive

      public void applyPassive(StatsContainer stats)
      Applies the Whispering Flame passive: grants EM equal to 8% of total ATK (capped at 160) and LUNAR_UNIQUE_BONUS +20%.
      定義:
      applyPassive クラス内 Character
      パラメータ:
      stats - the stats container to modify
    • onAction

      public void onAction(String key, CombatSimulator sim)
      Handles action keys dispatched by the combat simulator.

      Supported keys:

      • "skill" / "E" — enters Manifest Flame or casts Northland Spearstorm.
      • "burst" / "Q" — casts the standard burst or Thunderous Symphony.
      • "attack" — advances the normal attack combo.
      • "dash" — resets the normal attack step and advances time by 0.4 s.
      オーバーライド:
      onAction クラス内 Character
      パラメータ:
      key - action identifier string
      sim - the combat simulator context
    • getTeamBuffs

      public List<Buff> getTeamBuffs()
      Returns the permanent team buffs provided by Flins.

      Includes a passive LUNAR_BASE_BONUS buff scaling with ATK: min(0.14, ATK / 100 * 0.007).

      オーバーライド:
      getTeamBuffs クラス内 Character
      戻り値:
      list containing the Lunar Base Bonus buff