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). |
See Also
Section titled “See Also”- struct Recharge
- class ImagineCooldownCalc
- namespace Stellar.Abstractions.Domain.GameData