# 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.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:3415

    // Automatic Variable Declarations
    // Implementation
    GameAddChargeRegen(lp_inCharge, (-1.0 * GameGetChargeRegen(lp_inCharge)));
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2911

    // Automatic Variable Declarations
    // Implementation
    GameAddChargeRegen(lp_inCharge, (-1.0 * GameGetChargeRegen(lp_inCharge)));
}