パッケージ model.character
クラス Sucrose
java.lang.Object
model.entity.Character
model.character.Sucrose
Anemo Catalyst support character (Sucrose) implementation.
Mechanics overview:
- Astable Anemohypostasis Creation-6308 (Skill) — Anemo Skill hit; generates 4 Anemo particles; triggers A1 and A4 passives.
- Forbidden Creation-Isomer 75 / Type II (Burst) — 6 s (8 s at C2) periodic Anemo DoT; absorbs an element from the enemy aura on first tick and fires an additional absorbed-element hit each subsequent tick. Applies C6 elemental DMG bonus when absorbed. A4 and A1 passives fire each tick.
- Mollis Favonius (A4) — on Skill/Burst use Sucrose transfers 20% of her own EM to all non-Sucrose party members for 8 s.
- Catalyst Conversion (A1) — if a swirl occurs, party members matching the swirled element gain +50 EM for 8 s.
- C6 — absorbed element gains +20% elemental DMG for the remaining burst duration.
C1 grants a second Skill charge (max 2); C2 extends burst duration to 8 s.
-
フィールドの概要
クラスから継承されたフィールド model.entity.Character
activeBuffs, artifactRolls, artifacts, baseStats, burstCD, constellation, currentEnergy, element, lastBurstTime, lastSkillTime, name, skillCD, skillMaxCharges, snapshotStats, totalEnergyGained, totalFlatEnergyGained, totalParticleEnergyGained, weapon -
コンストラクタの概要
コンストラクタコンストラクタ説明Sucrose(Weapon weapon, ArtifactSet artifacts) Constructs Sucrose with the given weapon and artifact set. -
メソッドの概要
修飾子とタイプメソッド説明voidapplyPassive(StatsContainer stats) No static passive stat modifications for Sucrose.doubleReturns the burst energy cost (80).booleanisBurstActive(double currentTime) Returnstruewhile the burst field is active.voidonAction(String key, CombatSimulator sim) Handles action keys dispatched by the combat simulator.クラスから継承されたメソッド model.entity.Character
addBuff, canBurst, canSkill, captureSnapshot, clearBuffs, getActiveBuffs, getArtifactRolls, getArtifacts, getBaseStats, getBurstCD, getBurstCDRemaining, getBurstEnergyWindows, getConstellation, getCurrentEnergy, getEffectiveStats, getElement, getLastBurstTime, getLastSkillTime, getName, getSkillCD, getSkillCDRemaining, getSnapshot, getStructuralStats, getTeamBuffs, getTotalEnergyGained, getTotalFlatEnergy, getTotalParticleEnergy, getWeapon, hasBuff, isLunarCharacter, markBurstUsed, markSkillUsed, onSwitchOut, receiveEnergy, receiveFlatEnergy, receiveParticleEnergy, removeBuff, resetEnergyStats, setArtifactRolls, setArtifacts, setBurstCD, setSkillCD, setWeapon
-
コンストラクタの詳細
-
Sucrose
Constructs Sucrose with the given weapon and artifact set. Initialises level-90 base stats (loaded from CSV), Anemo element, constellation 6, and cooldowns. C1 setsskillMaxChargesto 2.- パラメータ:
weapon- equipped weaponartifacts- equipped artifact set
-
-
メソッドの詳細
-
getEnergyCost
public double getEnergyCost()Returns the burst energy cost (80).- 定義:
getEnergyCostクラス内Character- 戻り値:
- burst energy cost
-
isBurstActive
public boolean isBurstActive(double currentTime) Returnstruewhile the burst field is active. Duration is 6 s normally or 8 s at C2+.- オーバーライド:
isBurstActiveクラス内Character- パラメータ:
currentTime- current simulation time in seconds- 戻り値:
trueif the burst is active
-
applyPassive
No static passive stat modifications for Sucrose.- 定義:
applyPassiveクラス内Character- パラメータ:
stats- the aggregated stats container to mutate
-
onAction
Handles action keys dispatched by the combat simulator.Supported keys:
"skill"/"E"— casts the Skill."burst"/"Q"— casts the Burst."attack"— advances the normal attack combo.
-