# Add Charge Regen Time For Game (Deprecated)

Grammar — Add inVal seconds to the charge regen time for charge inCharge
FlagsNative | Action | Hidden

Adds to the amount of time it takes to regenerate the specified global charge link.

# Arguments

  • string — Charge
  • fixed — Value

Returns — void

native void GameAddChargeRegen(
	string inCharge,
	fixed inVal,
);

Category: Game / Charges And Cooldowns / Deprecated

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L3415
GameAddChargeRegen(lp_inCharge, (-1.0 * GameGetChargeRegen(lp_inCharge)))
// L2911
GameAddChargeRegen(lp_inCharge, (-1.0 * GameGetChargeRegen(lp_inCharge)))