# Maximum (Integer)
Grammar — Max(value1, value2)
Flags —Native
|Function
Returns the highest of the two integer values specified.
# Arguments
int
— Value 1int
— Value 2
Returns — int
native int MaxI(int x1, int x2);
# Related
Category: Math / Conditionals
- Minimum (Integer) —
int
— MinI - Minimum (Real) —
fixed
— MinF - Maximum (Integer) —
int
— MaxI - Maximum (Real) —
fixed
— MaxF
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:1638
gv_recentBuildingDeaths = (gv_recentBuildingDeaths - gv_recentBuildingDeathHistory[1]);
gv_recentBuildingDeaths = MaxI(gv_recentBuildingDeaths, 0);
lv_i = 1;
for ( ; ( (auto6459C174_ai >= 0 && lv_i <= auto6459C174_ae) || (auto6459C174_ai < 0 && lv_i >= auto6459C174_ae) ) ; lv_i += auto6459C174_ai ) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:1638
gv_recentBuildingDeaths = (gv_recentBuildingDeaths - gv_recentBuildingDeathHistory[1]);
gv_recentBuildingDeaths = MaxI(gv_recentBuildingDeaths, 0);
lv_i = 1;
for ( ; ( (auto6459C174_ai >= 0 && lv_i <= auto6459C174_ae) || (auto6459C174_ai < 0 && lv_i >= auto6459C174_ae) ) ; lv_i += auto6459C174_ai ) {
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:13634
auto5BBED3FD_val = EventDialogControl();
if (auto5BBED3FD_val == libCamp_gv_tS_DebugResearchButtonProtossMinus) {
libCamp_gv_tSX_DebugResearchLevel[(libCamp_ge_StoryResearchCategory_ResearchCategoryProtoss)] = MaxI((libCamp_gv_tSX_DebugResearchLevel[(libCamp_ge_StoryResearchCategory_ResearchCategoryProtoss)] - 1), -35);
}
else if (auto5BBED3FD_val == libCamp_gv_tS_DebugResearchButtonProtossReset) {
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:13652
}
else if (auto5BBED3FD_val == libCamp_gv_tS_DebugResearchButtonZergMinus) {
libCamp_gv_tSX_DebugResearchLevel[(libCamp_ge_StoryResearchCategory_ResearchCategoryZerg)] = MaxI((libCamp_gv_tSX_DebugResearchLevel[(libCamp_ge_StoryResearchCategory_ResearchCategoryZerg)] - 1), -35);
}
else if (auto5BBED3FD_val == libCamp_gv_tS_DebugResearchButtonZergReset) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionbaneling.sc2map/MapScript.galaxy:405
lv_reinforcementType = "HotSSplitterlingBig";
}
UnitCargoCreate(lp_spawnUnit, lv_reinforcementType, MaxI(10, (lp_banelingTotal - lv_count)));
lv_banelings = UnitCargoLastCreatedGroup();
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(lp_spawnUnit), "NydusCanelBirth");
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:4050
gv_gorgonsDestroyedForAchievement += 1;
gv_mostGorgonsDestroyedInAchievementTime = MaxI(gv_mostGorgonsDestroyedInAchievementTime, gv_gorgonsDestroyedForAchievement);
if ((gv_gorgonsDestroyedForAchievement >= 4) && (libHots_gf_DifficultyValueInt2(0, 0, 1) == 1)) {
TriggerExecute(gt_AchievementDestroyXGorgonsinYsecondsH, true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionbaneling.sc2map — MapScript.galaxy:405
lv_reinforcementType = "HotSSplitterlingBig";
}
UnitCargoCreate(lp_spawnUnit, lv_reinforcementType, MaxI(10, (lp_banelingTotal - lv_count)));
lv_banelings = UnitCargoLastCreatedGroup();
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(lp_spawnUnit), "NydusCanelBirth");
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:4050
gv_gorgonsDestroyedForAchievement += 1;
gv_mostGorgonsDestroyedInAchievementTime = MaxI(gv_mostGorgonsDestroyedInAchievementTime, gv_gorgonsDestroyedForAchievement);
if ((gv_gorgonsDestroyedForAchievement >= 4) && (libHots_gf_DifficultyValueInt2(0, 0, 1) == 1)) {
TriggerExecute(gt_AchievementDestroyXGorgonsinYsecondsH, true, false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16566
libSwaC_gv_zS_NeedOverlordFoodRequired2Index += 1;
lv_localIndex = libSwaC_gv_zS_NeedOverlordFoodRequired2Index;
libSwaC_gv_zS_NeedOverlordFoodRequired = MaxI(libSwaC_gv_zS_NeedOverlordFoodRequired, 2);
Wait(15.0, c_timeGame);
if ((lv_localIndex == libSwaC_gv_zS_NeedOverlordFoodRequired2Index) && (libSwaC_gv_zS_NeedOverlordFoodRequired == 2)) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16623
libSwaC_gv_zS_NeedOverlordFoodRequired3Index += 1;
lv_localIndex = libSwaC_gv_zS_NeedOverlordFoodRequired3Index;
libSwaC_gv_zS_NeedOverlordFoodRequired = MaxI(libSwaC_gv_zS_NeedOverlordFoodRequired, 3);
Wait(15.0, c_timeGame);
if ((lv_localIndex == libSwaC_gv_zS_NeedOverlordFoodRequired3Index) && (libSwaC_gv_zS_NeedOverlordFoodRequired == 3)) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16672
libSwaC_gv_zS_NeedOverlordFoodRequired6Index += 1;
lv_localIndex = libSwaC_gv_zS_NeedOverlordFoodRequired6Index;
libSwaC_gv_zS_NeedOverlordFoodRequired = MaxI(libSwaC_gv_zS_NeedOverlordFoodRequired, 6);
Wait(15.0, c_timeGame);
if ((lv_localIndex == libSwaC_gv_zS_NeedOverlordFoodRequired6Index) && (libSwaC_gv_zS_NeedOverlordFoodRequired == 6)) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:18182
DialogControlSetPositionRelative(DialogControlLastCreated(), PlayerGroupAll(), c_anchorLeft, libSwaC_gv_zS_SwarmHeroUIDialogEnergyBarImage[lv_index], c_anchorLeft, 0, 0);
lv_damageBarWidth = FixedToInt((((UnitGetPropertyFixed(libSwaC_gv_zS_SwarmHeroUIUnit[lv_index], c_unitPropEnergy, c_unitPropCurrent) - EventUnitPropertyChangeFixed()) / UnitGetPropertyFixed(libSwaC_gv_zS_SwarmHeroUIUnit[lv_index], c_unitPropEnergyMax, c_unitPropCurrent)) * 224.0));
lv_damageBarWidth = MaxI(1, lv_damageBarWidth);
lv_damageBarHeight = DialogControlGetHeight(libSwaC_gv_zS_SwarmHeroUIDialogEnergyBarImage[lv_index], 1);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:18189
DialogControlSetPositionRelative(DialogControlLastCreated(), PlayerGroupAll(), c_anchorLeft, libSwaC_gv_zS_SwarmHeroUIDialogHealthBarImage[lv_index], c_anchorLeft, 0, 0);
lv_damageBarWidth = FixedToInt((((UnitGetPropertyFixed(libSwaC_gv_zS_SwarmHeroUIUnit[lv_index], c_unitPropLife, c_unitPropCurrent) - EventUnitPropertyChangeFixed()) / UnitGetPropertyFixed(libSwaC_gv_zS_SwarmHeroUIUnit[lv_index], c_unitPropLifeMax, c_unitPropCurrent)) * 224.0));
lv_damageBarWidth = MaxI(1, lv_damageBarWidth);
lv_damageBarHeight = DialogControlGetHeight(libSwaC_gv_zS_SwarmHeroUIDialogHealthBarImage[lv_index], 1);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:934
}
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[1], DifficultyNameCampaign(1), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[1], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 1), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[2], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 2), 0)), PlayerGroupAll());
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:936
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[1], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 1), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[2], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 2), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[3], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 3), 0)), PlayerGroupAll());
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:938
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[2], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 2), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[3], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 3), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[4], DifficultyNameCampaign(4), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[4], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 4), 0)), PlayerGroupAll());
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:940
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[3], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 3), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyLabels[4], DifficultyNameCampaign(4), PlayerGroupAll());
libNtve_gf_SetDialogItemText(lib281DEC45_gv_zSS_UIArchivesDifficultyTimes[4], libSwaC_gf_FormatTimeCampaign(MaxI(libSwaC_gf_MissionCompleteBestTime(lv_mission, 4), 0)), PlayerGroupAll());
}
else {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur06.sc2map/MapScript.galaxy:2065
gv_recentBuildingDeaths = (gv_recentBuildingDeaths - gv_recentBuildingDeathHistory[1]);
gv_recentBuildingDeaths = MaxI(gv_recentBuildingDeaths, 0);
lv_i = 1;
for ( ; ( (autoA3F62510_ai >= 0 && lv_i <= autoA3F62510_ae) || (autoA3F62510_ai < 0 && lv_i >= autoA3F62510_ae) ) ; lv_i += autoA3F62510_ai ) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur06.sc2map — MapScript.galaxy:2065
gv_recentBuildingDeaths = (gv_recentBuildingDeaths - gv_recentBuildingDeathHistory[1]);
gv_recentBuildingDeaths = MaxI(gv_recentBuildingDeaths, 0);
lv_i = 1;
for ( ; ( (autoA3F62510_ai >= 0 && lv_i <= autoA3F62510_ae) || (autoA3F62510_ai < 0 && lv_i >= autoA3F62510_ae) ) ; lv_i += autoA3F62510_ai ) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7469
libVCMI_gv_pM_NeedPylonFoodRequired2Index += 1;
lv_localIndex = libVCMI_gv_pM_NeedPylonFoodRequired2Index;
libVCMI_gv_pM_NeedPylonFoodRequired = MaxI(libVCMI_gv_pM_NeedPylonFoodRequired, 2);
Wait(15.0, c_timeGame);
if ((lv_localIndex == libVCMI_gv_pM_NeedPylonFoodRequired2Index) && (libVCMI_gv_pM_NeedPylonFoodRequired == 2)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7516
libVCMI_gv_pM_NeedPylonFoodRequired3Index += 1;
lv_localIndex = libVCMI_gv_pM_NeedPylonFoodRequired3Index;
libVCMI_gv_pM_NeedPylonFoodRequired = MaxI(libVCMI_gv_pM_NeedPylonFoodRequired, 3);
Wait(15.0, c_timeGame);
if ((lv_localIndex == libVCMI_gv_pM_NeedPylonFoodRequired3Index) && (libVCMI_gv_pM_NeedPylonFoodRequired == 3)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7557
libVCMI_gv_pM_NeedPylonFoodRequired4Index += 1;
lv_localIndex = libVCMI_gv_pM_NeedPylonFoodRequired4Index;
libVCMI_gv_pM_NeedPylonFoodRequired = MaxI(libVCMI_gv_pM_NeedPylonFoodRequired, 4);
Wait(15.0, c_timeGame);
if ((lv_localIndex == libVCMI_gv_pM_NeedPylonFoodRequired4Index) && (libVCMI_gv_pM_NeedPylonFoodRequired == 4)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7598
libVCMI_gv_pM_NeedPylonFoodRequired6Index += 1;
lv_localIndex = libVCMI_gv_pM_NeedPylonFoodRequired6Index;
libVCMI_gv_pM_NeedPylonFoodRequired = MaxI(libVCMI_gv_pM_NeedPylonFoodRequired, 6);
Wait(15.0, c_timeGame);
if ((lv_localIndex == libVCMI_gv_pM_NeedPylonFoodRequired6Index) && (libVCMI_gv_pM_NeedPylonFoodRequired == 6)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:4280
// Implementation
DialogControlSetSize(libVCUI_gv_pU_ProgressBarImageBar, PlayerGroupAll(), MaxI(FixedToInt((IntToFixed(libVCUI_gv_pUC_ProgressBarWidth) * (IntToFixed(libVCUI_gv_pU_ProgressBarProgress) / IntToFixed(libVCUI_gv_pU_ProgressBarMax)))), 1), libVCUI_gv_pUC_ProgressBarHeight);
DialogControlSetVisible(libVCUI_gv_pU_ProgressBarImageBar, PlayerGroupAll(), true);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:4783
lv_progressBarWidth = (lv_c_Width * ( (IntToFixed(lv_curValue) - IntToFixed(lv_minValue)) / (IntToFixed(lv_maxValue) - IntToFixed(lv_minValue)) ));
DialogControlSetSize(lv_progressBarProgressBar, PlayerGroupAll(), MaxI(FixedToInt(lv_progressBarWidth), 1), lv_c_Height);
libNtve_gf_SetDialogItemColor(lv_progressBarProgressBar, libVCUI_gf_GetProgressBarColorCampaign(), PlayerGroupAll());
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9707
libNtve_gf_SetDialogItemRenderPriority(lv_damageBar, 506, PlayerGroupAll());
DialogControlSetVisible(lv_damageBar, PlayerGroupAll(), true);
DialogControlSetSize(lv_damageBar, PlayerGroupAll(), MaxI(lv_damageBarWidth, 1), lv_damageBarHeight);
Wait(1.0, c_timeReal);
DialogControlFadeTransparency(lv_damageBar, PlayerGroupAll(), 1.0, 100.0);
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4752
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(78.43, 78.43, 0.00), libNtve_gv__BB_Players[lp_barID]);
DialogControlSetSize(DialogControlLastCreated(), libNtve_gv__BB_Players[lp_barID], lv_width, libNtve_gf__BB_HPBarHeight(lp_barID));
DialogControlSetPositionRelative(DialogControlLastCreated(), libNtve_gv__BB_Players[lp_barID], c_anchorLeft, libNtve_gv__BB_HpFullImage[lp_barID], c_anchorLeft, MaxI((lv_newWidth - 1), 0), 0);
DialogControlFadeTransparency(DialogControlLastCreated(), libNtve_gv__BB_Players[lp_barID], 0.2, 20.0);
Wait(0.2, c_timeReal);
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:3997
libNtve_gf_SetDialogItemColor(DialogControlLastCreated(), Color(78.43, 78.43, 0.00), libNtve_gv__BB_Players[lp_barID]);
DialogControlSetSize(DialogControlLastCreated(), libNtve_gv__BB_Players[lp_barID], lv_width, libNtve_gf__BB_HPBarHeight(lp_barID));
DialogControlSetPositionRelative(DialogControlLastCreated(), libNtve_gv__BB_Players[lp_barID], c_anchorLeft, libNtve_gv__BB_HpFullImage[lp_barID], c_anchorLeft, MaxI((lv_newWidth - 1), 0), 0);
DialogControlFadeTransparency(DialogControlLastCreated(), libNtve_gv__BB_Players[lp_barID], 0.2, 20.0);
Wait(0.2, c_timeReal);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:673
// Variable Initialization
lv_currentLevel = UnitXPGetCurrentLevel(libGame_gv_players[gv_pLAYER_TryMe_C].lv_heroUnit, null);
lv_realLevel = MaxI(1, MinI(30, lp_level));
lv_defaultIndex = 1;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:673
// Variable Initialization
lv_currentLevel = UnitXPGetCurrentLevel(libGame_gv_players[gv_pLAYER_TryMe_C].lv_heroUnit, null);
lv_realLevel = MaxI(1, MinI(30, lp_level));
lv_defaultIndex = 1;
mods/heroesbrawlmods/arenamodemods/punisherarena.stormmod — base.stormdata/LibAMPU.galaxy:250
// Automatic Variable Declarations
// Implementation
libAMPU_gv_aRMPunisherTeamScore[lp_team] = MaxI(MinI(lp_score, libAMPU_gv_aRMPunisherSkullRequired_C), 0);
libAMPU_gf_MapMechanicsGardenOfTerrorSetSeedCountForTeam(lp_team, libAMPU_gv_aRMPunisherTeamScore[lp_team]);
if ((libAMPU_gv_aRMPunisherTeamScore[lp_team] >= libAMPU_gv_aRMPunisherSkullRequired_C)) {
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:969
lv_finalCount = (libMDoE_gf_DoESGetCannonballCountOnHero(lp_player, lp_heroUnit) + lp_count);
lv_finalCount = MaxI(lv_finalCount, 0);
libMDoE_gf_DoEsSetHeroCannonballCount(lp_player, lp_heroUnit, lv_finalCount);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:1745
libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_deadHeroStartHealth += lp_effectAmount;
}
libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_deadHeroHighestHealth = MaxI(libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_deadHeroStartHealth, libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_deadHeroHighestHealth);
if ((lp_effectIsHeal == false)) {
lv_itMaxDamagerIndex = 1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:1939
if ((lv_effectAmount <= 0)) {
if ((lv_killingBlowFound == false) && (lv_effectTypePresetAttempted == c_effectAmountDamageAttempted) && (lv_effectAmountAttempted > lv_effectAmountShielded) && (lv_itEffectHistoryEntry == 1)) {
lv_effectAmount = MaxI(FixedToInt(Floor(UnitGetPropertyFixed(lv_deadHeroUnit, c_unitPropLife, c_unitPropCurrent))), PlayerScoreValueGetAsInt(lp_deadPlayer, "DeadHeroLastKnownHealth"));
lv_effectKill = true;
if ((lv_effectAmount == libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_deadHeroMaxHealth)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:8884
lv_secondaryIndex = libGame_gv_closestLaneData.lv_laneData[libGame_gv_spawnedMinionLane].lv_secondaryIndex;
if ((libGame_gv_players[lp_ownerPlayer].lv_faction == libGame_ge_Faction_Order)) {
libGame_gv_spawnedMinionFirstWaypointIndex = MaxI(lv_closestIndex, lv_secondaryIndex);
if ((libCore_gv_mAPUsesCirclingAI == false)) {
if ((libGame_gv_spawnedMinionFirstWaypointIndex >= libGame_gv_laneData[libGame_gv_spawnedMinionLane].lv_waypointCount)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:10443
lv_team = libGame_gf_TeamNumberOfPlayer(UnitGetOwner(lp_hero));
libAIAI_gf_AITeamDelegateUpdateTeamLevelDifference(lv_player, lv_level);
libGame_gv_teams[lv_team].lv_teamLevel = MaxI(libGame_gv_teams[libGame_gf_TeamNumberOfPlayer(lv_player)].lv_teamLevel, lv_level);
libGame_gv_scoreValues[lv_player].lv_level = lv_level;
if ((libSond_gf_SoundtrackIsIntroPlaying() == false) && (libCore_gv_sYSGameMode != libCore_ge_GameModes_ArenaMode) && (libCore_gv_sYSGameMode != libCore_ge_GameModes_AttackDefend)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:11588
TextExpressionSetToken("Param/Expression/lib_Game_E999ACA3", "B", IntToText(lv_tier));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_Game_E999ACA3"), true);
libGame_gv_talents_TalentChoices[lp_player][lv_tier].lv_numberOfTalentsForThisTier = MaxI(libGame_gv_talents_TalentChoices[lp_player][lv_tier].lv_numberOfTalentsForThisTier, lv_column);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:17946
lv_cmd = UserDataGetAbilCmd("TheWheelOfCommand", lv_instance, "Command", 1);
lv_dummyEffect = UserDataGetGameLink(libGame_gv_wheelCmdUserType, lv_instance, "WheelDiffEffect", 1);
lv_maxPingIndex = MaxI(lv_maxPingIndex, lv_pingIndex);
lv_minPingIndex = MinI(lv_minPingIndex, lv_pingIndex);
lv_arrayIndex = (lv_pingIndex-libGame_gv_wheelPingOffsetIndex);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:6356
}
lv_count = MaxI((libCore_gf_IntegerStoredForUnit(EventUnitTargetUnit(), 1) - 1), 0);
libCore_gf_StoreIntegerForUnit(EventUnitTargetUnit(), 1, lv_count);
if ((lv_count == 0)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SoundLib.galaxy:651
lv_newIndex = 3;
}
lv_newIndex = MaxI(lv_newIndex, libSond_gv_soundtrack_MapSoundtrackIndex);
if ((lv_newIndex != libSond_gv_soundtrack_MapSoundtrackIndex)) {
libSond_gv_soundtrack_MapSoundtrackIndex = lv_newIndex;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:1729
lv_potentialTokenSoftCap = CatalogFieldValueGetAsInt(c_gameCatalogBehavior, lv_tokenBehavior, "ConditionalEvents[" + IntToString(lv_itConditionalIndex) + "].CompareValue", c_playerAny);
if ((lv_potentialTokenSoftCap != 0)) {
lv_tokenSoftCap = MaxI(lv_tokenSoftCap, lv_potentialTokenSoftCap);
}
else {
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:1656
if ((libMLCP_gv_mMSkyTemples[lp_templeIndex].lv_finalStage == false)) {
lv_damage = CatalogFieldValueGetAsInt(c_gameCatalogEffect, "LuxoriaTempleStage1WeaponDamage", "Amount", UnitGetOwner(libMLCP_gv_mMSkyTemples[lp_templeIndex].lv_temple));
lv_damage += (MaxI(UnitBehaviorCount(libMLCP_gv_mMSkyTemples[lp_templeIndex].lv_temple, "LuxoriaTempleScaling")-1, 0)*20);
}
else {
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:1660
else {
lv_damage = CatalogFieldValueGetAsInt(c_gameCatalogEffect, "LuxoriaTempleStage2WeaponDamage", "Amount", UnitGetOwner(libMLCP_gv_mMSkyTemples[lp_templeIndex].lv_temple));
lv_damage += (MaxI(UnitBehaviorCount(libMLCP_gv_mMSkyTemples[lp_templeIndex].lv_temple, "LuxoriaTempleScaling")-1, 0)*20);
}
return true;
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibCMUI.galaxy:138
// Implementation
DialogControlSetSize(libCMUI_gv_cU_ProgressBarImageBar, PlayerGroupAll(), MaxI(FixedToInt((IntToFixed(libCMUI_gv_cUC_ProgressBarWidth) * (IntToFixed(libCMUI_gv_cU_ProgressBarProgress) / IntToFixed(libCMUI_gv_cU_ProgressBarMax)))), 1), libCMUI_gv_cUC_ProgressBarHeight);
DialogControlSetVisible(libCMUI_gv_cU_ProgressBarImageBar, PlayerGroupAll(), true);
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibCMUI.galaxy:326
lv_progressBarWidth = (lv_c_Width * ( (IntToFixed(lv_curValue) - IntToFixed(lv_minValue)) / (IntToFixed(lv_maxValue) - IntToFixed(lv_minValue)) ));
DialogControlSetSize(lv_progressBarProgressBar, PlayerGroupAll(), MaxI(FixedToInt(lv_progressBarWidth), 1), lv_c_Height);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:6852
libNtve_gf_SetDialogItemRenderPriority(lv_damageBar, 506, PlayerGroupAll());
DialogControlSetVisible(lv_damageBar, PlayerGroupAll(), true);
DialogControlSetSize(lv_damageBar, PlayerGroupAll(), MaxI(lv_damageBarWidth, 1), lv_damageBarHeight);
Wait(1.0, c_timeReal);
DialogControlFadeTransparency(lv_damageBar, PlayerGroupAll(), 1.0, 100.0);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:2643
if ((UnitTypeGetCost(lv_unitTypesForWave[lv_unitPercentBaseIter], c_unitCostSumMineralsVespene) > 0)) {
lv_unitPercentBaseCreateCount = MaxI(TruncI((lv_unitTypePercentBase[lv_unitPercentBaseIter] * lv_waveResourceTotal / UnitTypeGetCost(lv_unitTypesForWave[lv_unitPercentBaseIter], c_unitCostSumMineralsVespene))), 1);
}
else {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:2999
if ((UnitTypeGetCost(lv_unitTypesForWave[lv_unitPercentBaseIter], c_unitCostSumMineralsVespene) > 0)) {
lv_unitPercentBaseCreateCount = MaxI(TruncI((lv_unitTypePercentBase[lv_unitPercentBaseIter] * lv_waveResourceTotal / UnitTypeGetCost(lv_unitTypesForWave[lv_unitPercentBaseIter], c_unitCostSumMineralsVespene))), 1);
}
else {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:6199
// Implementation
if ((UserDataGetInt("CoopAbilityTychusRageBuffs", lp_rageBuff, "Rolling Stacks", 1) == 1) && (lv_existingstackcount > lv_newstackcount)) {
UnitBehaviorRemove(lp_targetUnit, lv_behavior, MaxI(lv_newstackcount, 0));
UnitBehaviorAdd(lp_targetUnit, lv_behavior, lp_tychusUnit, lv_newstackcount);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:505
}
libNtve_gf_CreateUnitsWithDefaultFacing(MaxI(FixedToInt(Ceiling(UnitTypeGetProperty(UnitGetType(lp_killedUnit), c_unitPropSuppliesUsed))), 1), "KerriganInfestBroodling", 0, UnitGetOwner(lp_killedUnit), UnitGetPosition(lp_killedUnit));
UnitGroupAddUnitGroup(libCOMU_gv_cT_OnDeathSpawns, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(lv_broodlingGroup, UnitLastCreatedGroup());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:508
UnitGroupAddUnitGroup(libCOMU_gv_cT_OnDeathSpawns, UnitLastCreatedGroup());
UnitGroupAddUnitGroup(lv_broodlingGroup, UnitLastCreatedGroup());
libCOMU_gv_cT_StatBroodlingsSpawned += MaxI(FixedToInt(Ceiling(UnitTypeGetProperty(UnitGetType(lp_killedUnit), c_unitPropSuppliesUsed))), 1);
libCOMU_gf_CT_RegisterSpawnedUnitGroup(UnitLastCreatedGroup());
AISetGroupScriptControlled(lv_broodlingGroup, false);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:528
else {
lv_owner = UnitGetOwner(lp_killedUnit);
libNtve_gf_CreateUnitsWithDefaultFacing(MaxI(FixedToInt(Ceiling(UnitTypeGetProperty(UnitGetType(lp_killedUnit), c_unitPropSuppliesUsed))), 1), "InfestedCivilian", c_unitCreateIgnorePlacement, lv_owner, UnitGetPosition(lp_killedUnit));
UnitGroupAddUnitGroup(libCOMU_gv_cT_OnDeathSpawns, UnitLastCreatedGroup());
libCOMU_gf_CT_RegisterSpawnedUnitGroup(UnitLastCreatedGroup());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:725
}
UnitBehaviorAdd(lv_nearbyUnit, "MutatorAvenger", lp_killedUnit, MaxI(FixedToInt(lv_supplyvalue), 1));
libCOMU_gv_cT_StatAvengerStacksApplied += FixedToInt(UnitTypeGetProperty(UnitGetType(lp_killedUnit), c_unitPropSuppliesUsed));
libNtve_gf_SendActorMessageToUnit(lv_nearbyUnit, (("SetScale " + FixedToString(((0.08 * UnitBehaviorCount(lv_nearbyUnit, "MutatorAvenger")) + 1.0), 1))));
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:1188
if ((lv_useVespene == true)) {
libCOMU_gv_cT_StatOrderCostMineralsLost[lv_microPlayer] += MinI(PlayerGetPropertyInt(lv_microPlayer, c_playerPropMinerals), MaxI(AbsI(FixedToInt(lv_orderCost)), 1));
libCOMU_gv_cT_StatOrderCostVespeneLost[lv_microPlayer] += MinI(PlayerGetPropertyInt(lv_microPlayer, c_playerPropVespene), MaxI(AbsI(FixedToInt(lv_orderCost)), 1));
libCOMI_gf_GivePlayerResources(PointWithOffset(UnitGetPosition(lp_orderedUnit), -0.36, 0.0), libCOMI_ge_CacheResourceType_Mineral, MinI(FixedToInt(lv_orderCost), -1), null, null, lv_microPlayer);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:1189
if ((lv_useVespene == true)) {
libCOMU_gv_cT_StatOrderCostMineralsLost[lv_microPlayer] += MinI(PlayerGetPropertyInt(lv_microPlayer, c_playerPropMinerals), MaxI(AbsI(FixedToInt(lv_orderCost)), 1));
libCOMU_gv_cT_StatOrderCostVespeneLost[lv_microPlayer] += MinI(PlayerGetPropertyInt(lv_microPlayer, c_playerPropVespene), MaxI(AbsI(FixedToInt(lv_orderCost)), 1));
libCOMI_gf_GivePlayerResources(PointWithOffset(UnitGetPosition(lp_orderedUnit), -0.36, 0.0), libCOMI_ge_CacheResourceType_Mineral, MinI(FixedToInt(lv_orderCost), -1), null, null, lv_microPlayer);
libCOMI_gf_GivePlayerResources(PointWithOffset(UnitGetPosition(lp_orderedUnit), 0.36, 0.0), libCOMI_ge_CacheResourceType_Vespene, MinI(FixedToInt(lv_orderCost), -1), null, null, lv_microPlayer);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:1196
lv_orderCost *= 2.0;
libCOMI_gf_GivePlayerResources(UnitGetPosition(lp_orderedUnit), libCOMI_ge_CacheResourceType_Mineral, MinI(FixedToInt(lv_orderCost), -1), null, null, lv_microPlayer);
libCOMU_gv_cT_StatOrderCostMineralsLost[lv_microPlayer] += MinI(PlayerGetPropertyInt(lv_microPlayer, c_playerPropMinerals), MaxI(AbsI(FixedToInt(lv_orderCost)), 1));
}
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:7014
CatalogFieldValueSet(c_gameCatalogEffect, "MutatorTornadoAOESearchDamage", "Amount", 3, IntToString(libCOMI_gf_MinimumDifficultyValueCoopInteger(5, 10, 15, 25, 25, 25)));
lv_tornadoCount += MaxI(FixedToInt((libNtve_gf_WidthOfRegion(RegionPlayableMap()) / 19.0)), 1);
lv_tornadoCount += MaxI(FixedToInt((libNtve_gf_HeightOfRegion(RegionPlayableMap()) / 19.0)), 1);
if ((libCOOC_gf_CC_CurrentMap() == "AC_VeridiaCourier")) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:7015
CatalogFieldValueSet(c_gameCatalogEffect, "MutatorTornadoAOESearchDamage", "Amount", 3, IntToString(libCOMI_gf_MinimumDifficultyValueCoopInteger(5, 10, 15, 25, 25, 25)));
lv_tornadoCount += MaxI(FixedToInt((libNtve_gf_WidthOfRegion(RegionPlayableMap()) / 19.0)), 1);
lv_tornadoCount += MaxI(FixedToInt((libNtve_gf_HeightOfRegion(RegionPlayableMap()) / 19.0)), 1);
if ((libCOOC_gf_CC_CurrentMap() == "AC_VeridiaCourier")) {
lv_harvestableSpawnBufferDistance = 5;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:12912
}
if ((lv_depletionCount > 0)) {
lv_currentFood = MaxI((lv_currentFood-lv_depletionCount), 0);
auto39A04678_g = libCOOC_gf_HumanPlayers();
lv_indexPlayer = -1;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:3357
// Implementation
if ((libCOUI_gv_cU_ProgressBarProgress > 0)) {
DialogControlSetSize(libCOUI_gv_cU_ProgressBarImageBar, PlayerGroupAll(), MaxI(1, FixedToInt((IntToFixed(libCOUI_gv_pUC_ProgressBarWidth) * (IntToFixed(libCOUI_gv_cU_ProgressBarProgress) / IntToFixed(libCOUI_gv_cU_ProgressBarMax))))), libCOUI_gv_pUC_ProgressBarHeight);
DialogControlSetVisible(libCOUI_gv_cU_ProgressBarImageBar, PlayerGroupAll(), true);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:3905
lv_progressBarWidth = (lv_c_Width * ( (IntToFixed(lv_curValue) - IntToFixed(lv_minValue)) / (IntToFixed(lv_maxValue) - IntToFixed(lv_minValue)) ));
}
DialogControlSetSize(lv_progressBarProgressBar, PlayerGroupAll(), MaxI(FixedToInt(lv_progressBarWidth), 1), lv_c_Height);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:6550
lv_mindifficulty = RoundI(libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMinSlider, EventPlayer()));
lv_maxdifficulty = MaxI(lv_mindifficulty, RoundI(libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMaxSlider, EventPlayer())));
lv_minmutators = RoundI(libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMinMutSlider, EventPlayer()));
lv_maxmutators = MaxI(lv_minmutators, RoundI(libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMaxMutSlider, EventPlayer())));
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:6552
lv_maxdifficulty = MaxI(lv_mindifficulty, RoundI(libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMaxSlider, EventPlayer())));
lv_minmutators = RoundI(libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMinMutSlider, EventPlayer()));
lv_maxmutators = MaxI(lv_minmutators, RoundI(libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMaxMutSlider, EventPlayer())));
libCOUI_gf_CU_RandomMutationSelectClose(1);
lv_mindifficulty = RoundI(libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMinSlider, EventPlayer()));
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:6555
libCOUI_gf_CU_RandomMutationSelectClose(1);
lv_mindifficulty = RoundI(libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMinSlider, EventPlayer()));
lv_maxdifficulty = MaxI(lv_mindifficulty, RoundI(libNtve_gf_DialogItemValue(libCOUI_gv_cU_RandomMutationSelectMaxSlider, EventPlayer())));
if ((lv_maxdifficulty < lv_mindifficulty)) {
lv_maxdifficulty = lv_mindifficulty;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:8137
DialogControlSetVisible(lv_damageBar, PlayerGroupAll(), false);
DialogControlSetVisible(lv_damageBar, lv_heroGroup, true);
DialogControlSetSize(lv_damageBar, PlayerGroupAll(), MaxI(MinI(lv_damageBarWidth, 244), 1), lv_damageBarHeight);
Wait(1.0, c_timeReal);
DialogControlFadeTransparency(lv_damageBar, lv_heroGroup, 1.0, 100.0);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7348
}
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[1], DifficultyNameCampaign(1), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[1], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 1), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[2], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 2), 0)), PlayerGroupAll());
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7350
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[1], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 1), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[2], DifficultyNameCampaign(2), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[2], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 2), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[3], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 3), 0)), PlayerGroupAll());
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7352
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[2], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 2), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[3], DifficultyNameCampaign(3), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[3], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 3), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[4], DifficultyNameCampaign(4), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[4], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 4), 0)), PlayerGroupAll());
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7354
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[3], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 3), 0)), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyLabels[4], DifficultyNameCampaign(4), PlayerGroupAll());
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesDifficultyTimes[4], libA3DDD02B_gf_FormatTimeCampaign(MaxI(libA3DDD02B_gf_MissionCompleteBestTime(lv_selectedMission, 4), 0)), PlayerGroupAll());
}
else {
mods/warcoop/warclassicsystem.sc2mod — base.sc2data/TriggerLibs/WarClassicSystem.galaxy:38
libGAwX_gv_creepSpotsSleepBehavior = UserDataGetGameLink("MiscData", "Misc", "Creep - Sleep Behavior", 1);
libGAwX_gv_creepSpotsCampBehavior = UserDataGetGameLink("MiscData", "Misc", "Creep - Camp Behavior", 1);
libGAwX_gv_creepSpotsMaxCampSize = MaxI(UserDataGetInt("MiscData", "Misc", "Creep - Max Camp Size", 1), 1);
libGAwX_gv_creepSpotsMaxCampRadius = MaxF(UserDataGetFixed("MiscData", "Misc", "Creep - Max Camp Radius", 1), 0.0625);
libGAwX_gv_warningText = c_invalidDialogControlId;