Skip to content
Version 2.11.0
↓ Get the launcher

ImagineCooldownCalc.Update method

Advance the simulated recharge for key (the base skill id) and return the current state.

public Recharge Update(int key, long beginMs, int perChargeMs, int maxCharges, long nowMs)
parameter description
key Stable per-skill key (the base imagine skill id).
beginMs Wire skill_begin_time (changes only on cast).
perChargeMs Per-charge recharge (from EffectiveDuration).
maxCharges Max charges (SkillTable MaxEnergyChargeNum).
nowMs Current server time (ms).