ImagineCooldownCalc.EffectiveDuration method
Effective per-charge recharge in ms: (validCdMs > 0 ? validCdMs : durMs) × (1 − cdReductionFraction).
public static int EffectiveDuration(int durMs, int validCdMs, float cdReductionFraction)| parameter | description |
|---|---|
| durMs | Wire duration (nominal per-charge recharge). |
| validCdMs | Wire valid_cd_time when populated (else 0 → falls back to durMs). |
| cdReductionFraction | Total cooldown reduction, 0..1 (e.g. 0.10 default + attr/10000). |
See Also
Section titled “See Also”- class ImagineCooldownCalc
- namespace Stellar.Abstractions.Domain.GameData