# Add Charge Remaining Regen Time For Unit

Grammar — Add inVal seconds to remaining charge regen time for charge inCharge on unit inUnit
FlagsNative | Action

Adds to the amount of time remaining to regenerate the specified unit charge link.

# Arguments

  • unit — Unit
  • string [ charge ] — Charge
  • fixed — Value

Returns — void

native void UnitAddChargeRegenRemaining(
	unit inUnit,
	string inCharge,
	fixed inVal,
);

Category: Unit / Charges And Cooldowns

# Examples

# mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmod

LibAMVS.galaxy

// L868
UnitAddChargeRegenRemaining(lp_unit, lv_chargeLink, lv_cDRAmount)

# mods/heroesdata.stormmod

GameDataHelperLib.galaxy

// L22512
UnitAddChargeRegenRemaining(lv_caster, "Abil/SylvanasPossession", 0.0)

# mods/heroesdata.stormmod

GameLib.galaxy

// L8175
UnitAddChargeRegenRemaining(lp_targetUnit, lv_chargeLink, lp_cooldownChange)