# Add Charge Remaining Regen Time For Unit
Grammar — Add inVal seconds to remaining charge regen time for charge inCharge on unit inUnit
Flags —Native
|Action
Adds to the amount of time remaining to regenerate the specified unit charge link.
# Arguments
unit
— Unitstring
[ charge ] — Chargefixed
— Value
Returns — void
native void UnitAddChargeRegenRemaining(
unit inUnit,
string inCharge,
fixed inVal,
);
# Related
Category: Unit / Charges And Cooldowns
- [F] —
void
— Add Charge Remaining Regen Time For Unit Behavior — ( UnitBehaviorAddChargeRegenRemaining ) - [F] —
void
— Add Charge Remaining Regen Time For Unit Ability — ( UnitAbilityAddChargeRegenRemaining ) - [F] —
void
— Add Charge Remaining Regen Time For Unit — ( UnitAddChargeRegenRemaining ) - [F] —
void
— Add Charge Full Regen Time For Unit Behavior — ( UnitBehaviorAddChargeRegenFull ) - [F] —
void
— Add Charge Full Regen Time For Unit Ability — ( UnitAbilityAddChargeRegenFull ) - [F] —
void
— Add Charge Full Regen Time For Unit — ( UnitAddChargeRegenFull ) - [F] —
void
— Add Charge Used For Unit Behavior — ( UnitBehaviorAddChargeUsed ) - [F] —
void
— Add Charge Used For Unit Ability — ( UnitAbilityAddChargeUsed ) - [F] —
void
— Add Charge Used For Unit — ( UnitAddChargeUsed ) - [F] —
void
— Remove Charge Used For Unit Behavior — ( libNtve_gf_UnitBehaviorRemoveChargeUsed ) - [F] —
void
— Remove Charge Used For Unit Ability — ( libNtve_gf_UnitAbilityRemoveChargeUsed ) - [F] —
void
— Remove Charge Used For Unit — ( libNtve_gf_UnitRemoveChargeUsed ) - [F] —
fixed
— Charge Regen Remaining For Unit Behavior — ( UnitBehaviorGetChargeRegen ) - [F] —
fixed
— Charge Regen Remaining For Unit Ability — ( UnitAbilityGetChargeRegen ) - [F] —
fixed
— Charge Regen Remaining For Unit — ( UnitGetChargeRegen ) - [F] —
fixed
— Charge Regen Full For Unit Behavior — ( UnitBehaviorGetChargeRegenFull ) - [F] —
fixed
— Charge Regen Full For Unit Ability — ( UnitAbilityGetChargeRegenFull ) - [F] —
fixed
— Charge Regen Full For Unit — ( UnitGetChargeRegenFull ) - [F] —
fixed
— Charge Used For Unit Behavior — ( UnitBehaviorGetChargeUsed ) - [F] —
fixed
— Charge Used For Unit Ability — ( UnitAbilityGetChargeUsed ) - [F] —
fixed
— Charge Used For Unit — ( UnitGetChargeUsed ) - [F] —
void
— Add Cooldown For Unit Behavior — ( UnitBehaviorAddCooldown ) - [F] —
void
— Add Cooldown For Unit Ability — ( UnitAbilityAddCooldown ) - [F] —
void
— Modify Cooldown For Unit — ( UnitModifyCooldown ) - [F] —
void
— Clear Cooldowns For Unit — ( UnitClearCooldowns ) - [F] —
void
— Remove Cooldown For Unit Behavior — ( libNtve_gf_UnitBehaviorRemoveCooldown ) - [F] —
void
— Remove Cooldown For Unit Ability — ( libNtve_gf_UnitAbilityRemoveCooldown ) - [F] —
void
— Remove Cooldown For Unit — ( libNtve_gf_UnitRemoveCooldown ) - [F] —
fixed
— Cooldown For Unit Behavior — ( UnitBehaviorGetCooldown ) - [F] —
fixed
— Cooldown For Unit Abilty — ( UnitAbilityGetCooldown ) - [F] —
fixed
— Cooldown For Unit — ( UnitGetCooldown ) - [F] —
void
— Activate Ability Cooldowns — ( UnitAbilitySpendExplicit ) - [F] —
void
— Reset Ability Cooldowns — ( UnitAbilityReset ) - [F] —
fixed
— Ability Charge Info For Unit — ( UnitAbilityChargeInfo )
# Examples
# mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmod
// L868
UnitAddChargeRegenRemaining(lp_unit, lv_chargeLink, lv_cDRAmount)
# mods/heroesdata.stormmod
// L22512
UnitAddChargeRegenRemaining(lv_caster, "Abil/SylvanasPossession", 0.0)
# mods/heroesdata.stormmod
// L8175
UnitAddChargeRegenRemaining(lp_targetUnit, lv_chargeLink, lp_cooldownChange)