# Remove Charge Used For Unit

Grammar — Clear charges used for charge inCharge on unit inUnit
FlagsAction

Clears the number of used charges for the specified unit charge link.

# Arguments

  • unit — Unit
  • string<charge> — Charge

Returns — void

void libNtve_gf_UnitRemoveChargeUsed(
	unit lp_inUnit,
	string lp_inCharge,
);

Category: Unit / Charges And Cooldowns

# Examples

mods/warcoop/warclassicsystem.sc2modbase.sc2data/TriggerLibs/WarClassicSystem.galaxy:1731

    }

    libNtve_gf_UnitRemoveChargeUsed(lv_u, libGAwX_gv_hearthstoneChargeLink);
    UnitAddChargeUsed(lv_u, libGAwX_gv_hearthstoneChargeLink, (libGAwX_gv_hearthstoneChargeMax - lv_c));
    return true;