# Player Cooldown
Grammar — Cooldown of cooldown inCooldown for player inPlayer
Flags —Native
|Function
Returns the cooldown time for the specified player cooldown link.
# Arguments
int
— Playerstring
— Cooldown
Returns — fixed
native fixed PlayerGetCooldown(
int inPlayer,
string inCooldown,
);
# Related
Category: Player / Charges And Cooldowns
- Add Charge Remaining Regen Time For Player —
void
— PlayerAddChargeRegenRemaining - Add Charge Full Regen Time For Player —
void
— PlayerAddChargeRegenFull - Add Charge Used For Player —
void
— PlayerAddChargeUsed - Remove Charge Used For Player —
void
— libNtve_gf_PlayerRemoveChargeUsed - Charge Regen Remaining For Player —
fixed
— PlayerGetChargeRegen - Charge Regen Full For Player —
fixed
— PlayerGetChargeRegenFull - Player Charge Used —
fixed
— PlayerGetChargeUsed - Pause/Unpause All Charges For Player —
void
— PlayerPauseAllCharges - Add Cooldown For Player —
void
— PlayerAddCooldown - Remove Cooldown For Player —
void
— libNtve_gf_PlayerRemoveCooldown - Player Cooldown —
fixed
— PlayerGetCooldown - Pause/Unpause All Cooldowns For Player —
void
— PlayerPauseAllCooldowns
# Examples
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:3315
if ((UnitIsAlive(libSwaC_gv_zS_SwarmHeroUIUnit[lp_index]) == false)) {
if ((libSwaC_gv_zS_SwarmHeroUIUnit[lp_index] == libSwaC_gv_zS_Kerrigan) && (libSwaC_gv_zS_SwarmHeroUIKerriganRevivable == true) && (libSwaC_gf_CurrentMap() != "ZLab2") && (libSwaC_gf_CurrentMap() != "ZSpace2") && (libSwaC_gf_CurrentMap() != "ZZerus3")) {
libNtve_gf_SetDialogItemAnimationTime(libSwaC_gv_zS_SwarmHeroUIDialogCooldownImage[lp_index], (libSwaC_gv_zS_ReviveCooldownTimeKerrigan - PlayerGetCooldown(1, libSwaC_gv_zSC_HeroReviveLinkKerrigan)), PlayerGroupAll());
DialogControlSetVisible(libSwaC_gv_zS_SwarmHeroUIDialogCooldownImage[lp_index], PlayerGroupAll(), true);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:3319
}
else if ((libSwaC_gv_zS_SwarmHeroUIUnit[lp_index] == libSwaC_gv_zS_Dehaka)) {
libNtve_gf_SetDialogItemAnimationTime(libSwaC_gv_zS_SwarmHeroUIDialogCooldownImage[lp_index], (libSwaC_gv_zS_ReviveCooldownTimeDehaka - PlayerGetCooldown(1, libSwaC_gv_zSC_HeroReviveLinkDehaka)), PlayerGroupAll());
DialogControlSetVisible(libSwaC_gv_zS_SwarmHeroUIDialogCooldownImage[lp_index], PlayerGroupAll(), true);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:3323
}
else if ((libSwaC_gv_zS_SwarmHeroUIUnit[lp_index] == libSwaC_gv_zS_Stukov)) {
libNtve_gf_SetDialogItemAnimationTime(libSwaC_gv_zS_SwarmHeroUIDialogCooldownImage[lp_index], (libSwaC_gv_zS_ReviveCooldownTimeStukov - PlayerGetCooldown(1, libSwaC_gv_zSC_HeroReviveLinkStukov)), PlayerGroupAll());
DialogControlSetVisible(libSwaC_gv_zS_SwarmHeroUIDialogCooldownImage[lp_index], PlayerGroupAll(), true);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21141
}
if (!((PlayerGetCooldown(1, libSwaC_gv_zSC_HeroReviveLinkKerrigan) == 0.0))) {
return false;
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21208
}
if (!((PlayerGetCooldown(1, libSwaC_gv_zSC_HeroReviveLinkDehaka) == 0.0))) {
return false;
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21272
}
if (!((PlayerGetCooldown(1, libSwaC_gv_zSC_HeroReviveLinkStukov) == 0.0))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar03.sc2map/MapScript.galaxy:4494
}
if (!((PlayerGetCooldown(gv_pLAYER_02_DOMINION5, gv_heroReviveLinkKerrigan) == 0.0))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar03.sc2map — MapScript.galaxy:4494
}
if (!((PlayerGetCooldown(gv_pLAYER_02_DOMINION5, gv_heroReviveLinkKerrigan) == 0.0))) {
return false;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7014
}
if (!((PlayerGetCooldown(libVCMI_gv_pM_HeroRevivePlayer[(libVCMI_ge_PM_HeroType_PM_HeroType_Kerrigan)], libVCMI_gv_pM_HeroReviveCDLink[(libVCMI_ge_PM_HeroType_PM_HeroType_Kerrigan)]) == 0.0))) {
return false;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7055
}
if (!((PlayerGetCooldown(libVCMI_gv_pM_HeroRevivePlayer[(libVCMI_ge_PM_HeroType_PM_HeroType_Stukov)], libVCMI_gv_pM_HeroReviveCDLink[(libVCMI_ge_PM_HeroType_PM_HeroType_Stukov)]) == 0.0))) {
return false;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7096
}
if (!((PlayerGetCooldown(libVCMI_gv_pM_HeroRevivePlayer[(libVCMI_ge_PM_HeroType_PM_HeroType_Zagara)], libVCMI_gv_pM_HeroReviveCDLink[(libVCMI_ge_PM_HeroType_PM_HeroType_Zagara)]) == 0.0))) {
return false;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7133
}
if (!((PlayerGetCooldown(libVCMI_gv_pM_HeroRevivePlayer[(libVCMI_ge_PM_HeroType_PM_HeroType_Fenix)], libVCMI_gv_pM_HeroReviveCDLink[(libVCMI_ge_PM_HeroType_PM_HeroType_Fenix)]) == 0.0))) {
return false;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7181
}
if (!((PlayerGetCooldown(libVCMI_gv_pM_HeroRevivePlayer[(libVCMI_ge_PM_HeroType_PM_HeroType_Kerrigan_XelNaga)], libVCMI_gv_pM_HeroReviveCDLink[(libVCMI_ge_PM_HeroType_PM_HeroType_Kerrigan_XelNaga)]) == 0.0))) {
return false;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7235
// Conditions
if (testConds) {
if (!((PlayerGetCooldown(libVCMI_gv_pM_HeroRevivePlayer[(libVCMI_ge_PM_HeroType_PM_HeroType_Kerrigan)], libVCMI_gv_pM_HeroReviveCDLink[(libVCMI_ge_PM_HeroType_PM_HeroType_Kerrigan)]) > 0.0))) {
return false;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:4019
if ((UnitIsAlive(libVCUI_gv_pU_VoidHeroUIUnit[lp_index]) == false) && (libVCMI_gf_GameIsOver() == false)) {
if ((libVCUI_gv_pU_VoidHeroUIRevivable[lp_index] == true) && (PlayerGetCooldown(1, libVoiC_gf_PC_ChampResAbility(libVCUI_gf_PU_PresetToHeroGameLink(libVCUI_gv_pU_VoidHeroUIType[lp_index]))) > 0.0)) {
libNtve_gf_SetDialogItemAnimationTime(libVCUI_gv_pU_VoidHeroUIDialogCooldownImage[lp_index], (60.0 * (1 - PlayerGetCooldown(1, libVoiC_gf_PC_ChampResAbility(libVCUI_gf_PU_PresetToHeroGameLink(libVCUI_gv_pU_VoidHeroUIType[lp_index])))/libVCUI_gv_pU_ChampionReviveTimer) ), PlayerGroupAll());
DialogControlSetVisible(libVCUI_gv_pU_VoidHeroUIDialogCooldownImage[lp_index], PlayerGroupAll(), true);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:4020
if ((UnitIsAlive(libVCUI_gv_pU_VoidHeroUIUnit[lp_index]) == false) && (libVCMI_gf_GameIsOver() == false)) {
if ((libVCUI_gv_pU_VoidHeroUIRevivable[lp_index] == true) && (PlayerGetCooldown(1, libVoiC_gf_PC_ChampResAbility(libVCUI_gf_PU_PresetToHeroGameLink(libVCUI_gv_pU_VoidHeroUIType[lp_index]))) > 0.0)) {
libNtve_gf_SetDialogItemAnimationTime(libVCUI_gv_pU_VoidHeroUIDialogCooldownImage[lp_index], (60.0 * (1 - PlayerGetCooldown(1, libVoiC_gf_PC_ChampResAbility(libVCUI_gf_PU_PresetToHeroGameLink(libVCUI_gv_pU_VoidHeroUIType[lp_index])))/libVCUI_gv_pU_ChampionReviveTimer) ), PlayerGroupAll());
DialogControlSetVisible(libVCUI_gv_pU_VoidHeroUIDialogCooldownImage[lp_index], PlayerGroupAll(), true);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:3865
// Automatic Variable Declarations
// Implementation
PlayerAddCooldown(lp_inPlayer, lp_inCooldown, (-1.0 * PlayerGetCooldown(lp_inPlayer, lp_inCooldown)));
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:3219
// Automatic Variable Declarations
// Implementation
PlayerAddCooldown(lp_inPlayer, lp_inCooldown, (-1.0 * PlayerGetCooldown(lp_inPlayer, lp_inCooldown)));
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:6872
}
else {
lv_cooldownTime = PlayerGetCooldown(lp_player, lv_cooldownLink);
}
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:6876
}
else {
lv_cooldownTime = PlayerGetCooldown(lp_player, lv_cooldownLink);
}
}
mods/heromods/anduin.stormmod — base.stormdata/LibHAND.galaxy:116
}
if (!((PlayerGetCooldown(lv_player, "Abil/AnduinBlessedRecovery") == 0.0))) {
return false;
}
mods/heromods/dva.stormmod — base.stormdata/LibHDVA.galaxy:383
else {
lv_durationMax = libHDVA_gv_dVaCallMechDefaultMaxCooldown;
lv_durationRemain = PlayerGetCooldown(lp_dVaPlayer, "Abil/DVaPilotCallMech");
if ((PlayerHasTalent(lp_dVaPlayer, "DVaMechExpensivePlating") == true)) {
lv_calculatedEnergyAmount = ((1.0 - (lv_durationRemain / (lv_durationMax + libHDVA_gv_dVaCallMechExpensivePlatingCooldownChange))) * 100.0);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:6201
}
if (!((PlayerGetCooldown(libNCMI_gv_nM_HeroRevivePlayer[(libNCMI_ge_NM_HeroType_NM_HeroType_Nova)], libNCMI_gv_nM_HeroReviveCDLink[(libNCMI_ge_NM_HeroType_NM_HeroType_Nova)]) == 0.0))) {
return false;
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:3529
if ((UnitIsAlive(libNCUI_gv_NU_HeroUnit[lp_index]) == false) && (libNCMI_gf_GameIsOver() == false)) {
if ((libNCUI_gv_NU_HeroRevivable[lp_index] == true) && (PlayerGetCooldown(1, libNovC_gf_NC_ChampResAbility(libNCUI_gf_NU_PresetToHeroGameLink(libNCUI_gv_NU_HeroType[lp_index]))) > 0.0)) {
libNtve_gf_SetDialogItemAnimationTime(libNCUI_gv_NU_HeroDialogCooldownImage[lp_index], (libNCUI_gv_nU_ChampionReviveTimer - PlayerGetCooldown(1, libNovC_gf_NC_ChampResAbility(libNCUI_gf_NU_PresetToHeroGameLink(libNCUI_gv_NU_HeroType[lp_index])))), PlayerGroupAll());
DialogControlSetVisible(libNCUI_gv_NU_HeroDialogCooldownImage[lp_index], PlayerGroupAll(), true);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:3530
if ((UnitIsAlive(libNCUI_gv_NU_HeroUnit[lp_index]) == false) && (libNCMI_gf_GameIsOver() == false)) {
if ((libNCUI_gv_NU_HeroRevivable[lp_index] == true) && (PlayerGetCooldown(1, libNovC_gf_NC_ChampResAbility(libNCUI_gf_NU_PresetToHeroGameLink(libNCUI_gv_NU_HeroType[lp_index]))) > 0.0)) {
libNtve_gf_SetDialogItemAnimationTime(libNCUI_gv_NU_HeroDialogCooldownImage[lp_index], (libNCUI_gv_nU_ChampionReviveTimer - PlayerGetCooldown(1, libNovC_gf_NC_ChampResAbility(libNCUI_gf_NU_PresetToHeroGameLink(libNCUI_gv_NU_HeroType[lp_index])))), PlayerGroupAll());
DialogControlSetVisible(libNCUI_gv_NU_HeroDialogCooldownImage[lp_index], PlayerGroupAll(), true);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:4759
Wait(4.0, c_timeGame);
lv_placementTarget = UnitTypePlacementFromPoint("FenixDragoon", lp_player, lp_targetPoint, 500.0);
lv_cooldown = PlayerGetCooldown(lp_player, lv_cooldownLink);
libNtve_gf_PlayerRemoveCooldown(lp_player, lv_cooldownLink);
UnitIssueOrder(libCOUI_gv_cU_GPUnit[lp_player], OrderTargetingPoint(lp_cmd, lv_placementTarget), c_orderQueueReplace);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:6550
lv_cooldownTime = MinF((180.0 - lv_masteryTimeReduction), (lv_targetMissionTime - GameGetMissionTime()));
lv_cooldownTime = MaxF(lv_cooldownTime, 10.0);
if ((PlayerGetCooldown(libCOMI_gv_cM_ZeratulPlayer, "Abil/ProphecyVision") < lv_cooldownTime)) {
libNtve_gf_PlayerRemoveCooldown(libCOMI_gv_cM_ZeratulPlayer, "Abil/ProphecyVision");
PlayerAddCooldown(libCOMI_gv_cM_ZeratulPlayer, "Abil/ProphecyVision", lv_cooldownTime);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:8101
// Implementation
while (!((PlayerGetCooldown(lp_player, libCOOC_gf_CC_CommanderHeroReviveLink(libCOOC_gf_ActiveCommanderForPlayer(lp_player))) == 0.0))) {
Wait(1.0, c_timeGame);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:9795
while (true) {
while (!((PlayerGetCooldown(lp_player, lp_cooldownLink) > 0.0))) {
Wait(1.0, c_timeGame);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:9798
Wait(1.0, c_timeGame);
}
while (!((PlayerGetCooldown(lp_player, lp_cooldownLink) <= 0.0))) {
Wait(1.0, c_timeGame);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:10045
// Implementation
while (!((PlayerGetCooldown(lp_player, lp_cooldownLink) > 0.0))) {
Wait(1.0, c_timeGame);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:10048
Wait(1.0, c_timeGame);
}
while (!((PlayerGetCooldown(lp_player, lp_cooldownLink) <= 0.0))) {
Wait(1.0, c_timeGame);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:18334
lv_i = 1;
for ( ; ( (auto97938278_ai >= 0 && lv_i <= auto97938278_ae) || (auto97938278_ai < 0 && lv_i >= auto97938278_ae) ) ; lv_i += auto97938278_ai ) {
if (((PlayerGetCooldown(lv_fenixPlayer, (libCOMI_gv_cM_Fenix_AbilCmdArray[lv_i])) <= 0.0) && ((libCOMI_gv_cM_Fenix_AbilCmdArray[lv_i]) != (libCOMI_gv_cM_Fenix_ActiveHero_Abil[lv_fenixPlayer])))) {
PlayerAddCooldown(lv_fenixPlayer, (libCOMI_gv_cM_Fenix_AbilCmdArray[lv_i]), libCOMI_gv_cM_Fenix_SuitSwapCooldown);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:18349
lv_i = 1;
for ( ; ( (autoCED00EAD_ai >= 0 && lv_i <= autoCED00EAD_ae) || (autoCED00EAD_ai < 0 && lv_i >= autoCED00EAD_ae) ) ; lv_i += autoCED00EAD_ai ) {
if (((PlayerGetCooldown(lv_fenixPlayer, (libCOMI_gv_cM_Fenix_AbilCmdArray[lv_i])) <= 0.0) && ((libCOMI_gv_cM_Fenix_AbilCmdArray[lv_i]) != (libCOMI_gv_cM_Fenix_ActiveHero_Abil[lv_fenixPlayer])))) {
PlayerAddCooldown(lv_fenixPlayer, (libCOMI_gv_cM_Fenix_AbilCmdArray[lv_i]), libCOMI_gv_cM_Fenix_SuitSwapCooldown);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:18364
lv_i = 1;
for ( ; ( (autoCD058B6B_ai >= 0 && lv_i <= autoCD058B6B_ae) || (autoCD058B6B_ai < 0 && lv_i >= autoCD058B6B_ae) ) ; lv_i += autoCD058B6B_ai ) {
if (((PlayerGetCooldown(lv_fenixPlayer, (libCOMI_gv_cM_Fenix_AbilCmdArray[lv_i])) <= 0.0) && ((libCOMI_gv_cM_Fenix_AbilCmdArray[lv_i]) != (libCOMI_gv_cM_Fenix_ActiveHero_Abil[lv_fenixPlayer])))) {
PlayerAddCooldown(lv_fenixPlayer, (libCOMI_gv_cM_Fenix_AbilCmdArray[lv_i]), libCOMI_gv_cM_Fenix_SuitSwapCooldown);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:2183
}
if ((PlayerGetCooldown(UnitGetOwner(lp_aIUnit), "MutatorAmonZagaraBanelingBarrage") <= 0.0)) {
AISetFilterAlliance(lv_targetFilter2, c_playerGroupEnemy);
AISetFilterPlane(lv_targetFilter2, c_planeGround);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:2205
}
if ((PlayerGetCooldown(UnitGetOwner(lp_aIUnit), "MutatorAmonZagaraSpawnHunterKillers") <= 0.0)) {
libNtve_gf_AICast(lp_aIUnit, OrderTargetingPoint(AbilityCommand("MutatorAmonZagaraSpawnHunterKillers", 0), PointWithOffsetPolar(UnitGetPosition(lp_aIUnit), 5.0, AngleBetweenPoints(UnitGetPosition(lp_aIUnit), UnitGroupCenterOfGroup(lv_enemiesNearby)))));
return ;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:2228
lv_frenzyAoE = 15.0;
lv_friendsNearby = UnitGroupAlliance(lp_owner, c_unitAllianceAlly, RegionCircle(UnitGetPosition(lp_aIUnit), lv_frenzyAoE), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), lv_frenzyMinTargets);
if ((UnitGroupCount(lv_friendsNearby, c_unitCountAlive) >= lv_frenzyMinTargets) && (PlayerGetCooldown(UnitGetOwner(lp_aIUnit), "MutatorAmonZagaraMassFrenzy") <= 0.0)) {
libNtve_gf_AICast(lp_aIUnit, Order(AbilityCommand("MutatorAmonZagaraMassFrenzy", 0)));
return ;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:3105
if ((UnitIsAlive(libCOUI_gv_cU_HeroUnit[lp_index][lp_player]) == false) && (libCOMI_gf_GameIsOver() == false)) {
if ((libCOUI_gv_cU_VoidHeroUIRevivable[lp_index][lp_player] == true) && (PlayerGetCooldown(lp_player, libCOOC_gf_CC_CommanderHeroReviveLink(libCOOC_gf_ActiveCommanderForPlayer(lp_player))) > 0.0)) {
libNtve_gf_SetDialogItemAnimationTime(libCOUI_gv_cU_HeroDialogCooldownImage[lp_index], (60.0 * (1 - PlayerGetCooldown(lp_player, libCOOC_gf_CC_CommanderHeroReviveLink(libCOOC_gf_ActiveCommanderForPlayer(lp_player)))/libCOUI_gv_cU_HeroReviveTimer[lp_index][lp_player]) ), lv_updateGroup);
DialogControlSetVisible(libCOUI_gv_cU_HeroDialogCooldownImage[lp_index], lv_updateGroup, true);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:3106
if ((UnitIsAlive(libCOUI_gv_cU_HeroUnit[lp_index][lp_player]) == false) && (libCOMI_gf_GameIsOver() == false)) {
if ((libCOUI_gv_cU_VoidHeroUIRevivable[lp_index][lp_player] == true) && (PlayerGetCooldown(lp_player, libCOOC_gf_CC_CommanderHeroReviveLink(libCOOC_gf_ActiveCommanderForPlayer(lp_player))) > 0.0)) {
libNtve_gf_SetDialogItemAnimationTime(libCOUI_gv_cU_HeroDialogCooldownImage[lp_index], (60.0 * (1 - PlayerGetCooldown(lp_player, libCOOC_gf_CC_CommanderHeroReviveLink(libCOOC_gf_ActiveCommanderForPlayer(lp_player)))/libCOUI_gv_cU_HeroReviveTimer[lp_index][lp_player]) ), lv_updateGroup);
DialogControlSetVisible(libCOUI_gv_cU_HeroDialogCooldownImage[lp_index], lv_updateGroup, true);
}