# Add Charge Regen Time For Player (Deprecated)

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

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

# Arguments

  • int — Player
  • string — Charge
  • fixed — Value

Returns — void

native void PlayerAddChargeRegen(
	int inPlayer,
	string inCharge,
	fixed inVal,
);

Category: Player / Charges And Cooldowns / Deprecated

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L3853
PlayerAddChargeRegen(lp_inPlayer, lp_inCharge, (-1.0 * PlayerGetChargeRegen(lp_inPlayer, lp_inCharge)))
// L3207
PlayerAddChargeRegen(lp_inPlayer, lp_inCharge, (-1.0 * PlayerGetChargeRegen(lp_inPlayer, lp_inCharge)))