# Add Charge Regen Time For Game (Deprecated)
Grammar — Add inVal seconds to the charge regen time for charge inCharge
Flags —Native
|Action
|Hidden
Adds to the amount of time it takes to regenerate the specified global charge link.
# Arguments
string
— Chargefixed
— Value
Returns — void
native void GameAddChargeRegen(
string inCharge,
fixed inVal,
);
# Related
Category: Game / Charges And Cooldowns / Deprecated
- Add Charge Regen Time For Game (Deprecated) —
void
— GameAddChargeRegen - Remove Charge Regen Time For Game (Deprecated) —
void
— libNtve_gf_GameRemoveChargeRegen
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:3415
// Automatic Variable Declarations
// Implementation
GameAddChargeRegen(lp_inCharge, (-1.0 * GameGetChargeRegen(lp_inCharge)));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2911
// Automatic Variable Declarations
// Implementation
GameAddChargeRegen(lp_inCharge, (-1.0 * GameGetChargeRegen(lp_inCharge)));
}