パッケージ mechanics.element
クラス ResonanceManager
java.lang.Object
mechanics.element.ResonanceManager
Detects the party's elemental composition and applies the appropriate
elemental resonance team buff to the simulator.
Resonance rules mirrored from the official game:
- Protective Canopy – all 4 elements are unique; applied as a placeholder buff (defensive stats are not fully modelled).
- Fervent Flames (Pyro x2) –
+25% ATK. - Soothing Water (Hydro x2) –
+25% HP. - Shattering Ice (Cryo x2) –
+15% Crit Rate(applied unconditionally; ideally this is conditional on the enemy having a Cryo/Frozen aura). - Enduring Rock (Geo x2) –
+15% DMG Bonus,-20% Geo RESon enemy. - Sprawling Greenery (Dendro x2) –
+50 EM. - Impetuous Winds (Anemo x2) –
-5% Skill/Burst CD. - High Voltage (Electro x2) – particle generation event; no static stat buff is applied.
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明static voidInspects the party composition ofsimand registers the correct elemental resonance team buff.
-
コンストラクタの詳細
-
ResonanceManager
public ResonanceManager()
-
-
メソッドの詳細
-
applyResonances
Inspects the party composition ofsimand registers the correct elemental resonance team buff.If all 4 party slots are occupied by distinct elements, Protective Canopy is applied and the method returns immediately (no 2-element resonance can exist when each element appears only once).
- パラメータ:
sim- the combat simulator whose party is examined; the buff is registered on this same simulator
-