# Triggering Damage Taken
Grammar — Triggering damage taken
Flags —Native
|Function
Returns the triggering damage amount, excluding damage absorbed by damage modification behaviors.
Returns — fixed
native fixed EventUnitDamageAmount();
# Supported triggers
- Unit Takes Damage — TriggerAddEventUnitDamaged
# Related
Category: Unit / Combat
- Get Unit Damage Dealt Time —
fixed
— UnitGetDamageDealtTime - Get Unit Damage Taken Time —
fixed
— UnitGetDamageTakenTime - Weapon Used In Attack —
string
<gamelink::Weapon> — EventUnitGetWeapon - Item Used In Attack —
unit
— EventUnitGetItem - Item Type Used In Attack —
string
<gamelink::Item> — EventUnitGetItemType - Unit Dies —
void
— TriggerAddEventUnitDied - Killing Unit —
unit
— libNtve_gf_KillingUnit - Killing Player —
int
— libNtve_gf_KillingPlayer - Triggering Death Type Check —
bool
— EventUnitDamageDeathCheck - Unit Is Being Removed —
void
— TriggerAddEventUnitRemoved - Unit Starts Attacking (Deprecated) —
void
— TriggerAddEventUnitStartedAttack - Unit Starts Attacking —
void
— TriggerAddEventUnitStartedAttack2 - Unit Is Attacked (Deprecated) —
void
— TriggerAddEventUnitAttacked - Unit Is Attacked —
void
— TriggerAddEventUnitAttacked2 - Attacking Unit —
unit
— EventUnitTarget - Unit Absorbs Damage —
void
— TriggerAddEventUnitDamageAbsorbed - Unit Takes Damage —
void
— TriggerAddEventUnitDamaged - Damaging Unit —
unit
— EventUnitDamageSourceUnit - Damaging Player —
int
— EventUnitDamageSourcePlayer - Damaging Effect —
string
<gamelink::Effect> — EventUnitDamageEffect - Triggering Damage Taken —
fixed
— EventUnitDamageAmount - Triggering Damage Attempted —
fixed
— EventUnitDamageAttempted - Triggering Damage Attempted Vitals —
fixed
— EventUnitDamageAttemptedVitals - Triggering Damage Absorbed —
fixed
— EventUnitDamageAbsorbed - Triggering Damage Behavior Shield —
fixed
— EventUnitDamageBehaviorShield - Triggering Vitals Leeched —
fixed
— EventUnitDamageVitalsLeeched - Triggering Unit Kill XP —
int
— EventUnitDamageKillXP - Damage Source Position —
point
— EventUnitDamageSourcePoint - Unit is Healed —
void
— TriggerAddEventUnitHealed - Healing Unit —
unit
— EventUnitHealLaunchUnit - Healing Player —
int
— EventUnitHealLaunchPlayer - Triggering Heal Vital Type —
int
<preset::UnitVitalType> — EventUnitHealVital - Triggering Heal Given —
fixed
— EventUnitHealAmount - Healing Effect —
string
<gamelink::Effect> — EventUnitHealEffect - Unit Spends Vital —
void
— TriggerAddEventUnitSpendVital - Triggering Spent Vital Type —
int
<preset::UnitVitalType> — EventUnitSpentVitalVital - Triggering Vital Spent —
fixed
— EventUnitSpentVitalAmount - Unit Acquires Target —
void
— TriggerAddEventUnitAcquiredTarget - Acquired Target —
unit
— libNtve_gf_AcquiredTarget - Unit Is Revived —
void
— TriggerAddEventUnitRevive - Triggering Victim Unit —
unit
— EventUnitVictimUnit - Triggering Item Used —
unit
— EventUnitItemUsed - Triggering Effect Used —
string
<gamelink::Effect> — EventUnitEffectUsed
# Examples
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:4048
gv_hyperionDamaged = true;
gv_totalHyperionDamage += EventUnitDamageAmount();
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:10112
gv_damageTakenFromArchangel = true;
gv_damageTakenFromArchangelAmount += EventUnitDamageAmount();
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:5302
}
gv_totalDamageTaken += EventUnitDamageAmount();
if ((EventUnitDamageEffect() == "SJCloakedMineWeaponSearchDamage")) {
gv_hyperionHitByMagMine = true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:5305
if ((EventUnitDamageEffect() == "SJCloakedMineWeaponSearchDamage")) {
gv_hyperionHitByMagMine = true;
gv_totalMagMineDamageTaken += EventUnitDamageAmount();
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:2640
gv_chrysalisDamaged = true;
gv_totalChrysalisDamageTaken += EventUnitDamageAmount();
TriggerExecute(gt_ChrysalisUnderAttackQ, true, false);
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map — MapScript.galaxy:4048
gv_hyperionDamaged = true;
gv_totalHyperionDamage += EventUnitDamageAmount();
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:10112
gv_damageTakenFromArchangel = true;
gv_damageTakenFromArchangelAmount += EventUnitDamageAmount();
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:5302
}
gv_totalDamageTaken += EventUnitDamageAmount();
if ((EventUnitDamageEffect() == "SJCloakedMineWeaponSearchDamage")) {
gv_hyperionHitByMagMine = true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:5305
if ((EventUnitDamageEffect() == "SJCloakedMineWeaponSearchDamage")) {
gv_hyperionHitByMagMine = true;
gv_totalMagMineDamageTaken += EventUnitDamageAmount();
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2map — MapScript.galaxy:2640
gv_chrysalisDamaged = true;
gv_totalChrysalisDamageTaken += EventUnitDamageAmount();
TriggerExecute(gt_ChrysalisUnderAttackQ, true, false);
return true;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:18086
return true;
}
libSwaC_gv_zS_SwarmHeroUIDamage += EventUnitDamageAmount();
lv_damage = FixedToInt(libSwaC_gv_zS_SwarmHeroUIDamage);
if ((lv_damage < 1)) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:18108
}
else {
if ((EventUnitDamageAmount() >= 5.0) && (EventUnitDamageAmount() <= 15.0)) {
if ((libSwaC_gv_zS_SwarmHeroUIDamageTimer[lv_index] <= 0.5)) {
libSwaC_gv_zS_SwarmHeroUIDamageTimer[lv_index] = 0.51;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:18108
}
else {
if ((EventUnitDamageAmount() >= 5.0) && (EventUnitDamageAmount() <= 15.0)) {
if ((libSwaC_gv_zS_SwarmHeroUIDamageTimer[lv_index] <= 0.5)) {
libSwaC_gv_zS_SwarmHeroUIDamageTimer[lv_index] = 0.51;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:8847
}
gv_vorazunDamageTaken += EventUnitDamageAmount();
return true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier02.sc2map/MapScript.galaxy:4770
}
gv_megalithDamageTaken += EventUnitDamageAmount();
return true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar02.sc2map/MapScript.galaxy:7596
}
gv_lightningDashDamage += FixedToInt(EventUnitDamageAmount());
if ((gv_lightningDashDamage >= 7500)) {
TriggerExecute(gt_AchievementLightningDashDamage, true, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar03.sc2map/MapScript.galaxy:5225
}
gv_feedbackDamage += EventUnitDamageAmount();
return true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar03.sc2map/MapScript.galaxy:5295
}
gv_anniversaryAchievementTermHighTemplarorArchonDamage = (gv_anniversaryAchievementTermHighTemplarorArchonDamage + FixedToInt(EventUnitDamageAmount()));
AchievementTermQuantitySet(gv_pLAYER_01_USER, "Anniversary_PUlnar03", gv_anniversaryAchievementTermHighTemplarorArchonDamage);
TextExpressionSetToken("Param/Expression/FA4C3183", "A", IntToText(gv_anniversaryAchievementTermHighTemplarorArchonDamage));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar03.sc2map/MapScript.galaxy:5299
TextExpressionSetToken("Param/Expression/FA4C3183", "A", IntToText(gv_anniversaryAchievementTermHighTemplarorArchonDamage));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/FA4C3183"), false);
gv_highTemplarOrArchonDamage += FixedToInt(EventUnitDamageAmount());
if ((gv_highTemplarOrArchonDamage >= 1000)) {
TriggerExecute(gt_AchievementHighTemplarorArchonDamage, true, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:8847
}
gv_vorazunDamageTaken += EventUnitDamageAmount();
return true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier02.sc2map — MapScript.galaxy:4770
}
gv_megalithDamageTaken += EventUnitDamageAmount();
return true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar02.sc2map — MapScript.galaxy:7596
}
gv_lightningDashDamage += FixedToInt(EventUnitDamageAmount());
if ((gv_lightningDashDamage >= 7500)) {
TriggerExecute(gt_AchievementLightningDashDamage, true, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar03.sc2map — MapScript.galaxy:5225
}
gv_feedbackDamage += EventUnitDamageAmount();
return true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar03.sc2map — MapScript.galaxy:5295
}
gv_anniversaryAchievementTermHighTemplarorArchonDamage = (gv_anniversaryAchievementTermHighTemplarorArchonDamage + FixedToInt(EventUnitDamageAmount()));
AchievementTermQuantitySet(gv_pLAYER_01_USER, "Anniversary_PUlnar03", gv_anniversaryAchievementTermHighTemplarorArchonDamage);
TextExpressionSetToken("Param/Expression/FA4C3183", "A", IntToText(gv_anniversaryAchievementTermHighTemplarorArchonDamage));
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar03.sc2map — MapScript.galaxy:5299
TextExpressionSetToken("Param/Expression/FA4C3183", "A", IntToText(gv_anniversaryAchievementTermHighTemplarorArchonDamage));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/FA4C3183"), false);
gv_highTemplarOrArchonDamage += FixedToInt(EventUnitDamageAmount());
if ((gv_highTemplarOrArchonDamage >= 1000)) {
TriggerExecute(gt_AchievementHighTemplarorArchonDamage, true, false);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10740
if ((lv_triggeringArmyString != null)) {
lv_previousValue = DataTableGetInt(true, ("DmgTaken_" + lv_triggeringArmyString));
DataTableSetInt(true, ("DmgTaken_" + lv_triggeringArmyString), (lv_previousValue+FixedToInt(EventUnitDamageAmount())));
return true;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10749
if ((lv_triggeringArmyString != null)) {
lv_previousValue = DataTableGetInt(true, ("DmgDone_" + lv_triggeringArmyString));
DataTableSetInt(true, ("DmgDone_" + lv_triggeringArmyString), (lv_previousValue+FixedToInt(EventUnitDamageAmount())));
lv_mineralValue = (EventUnitDamageAmount()*UnitTypeGetCost(UnitGetType(EventUnit()), c_unitCostMinerals)/UnitGetPropertyFixed(EventUnit(), c_unitPropLifeMax, c_unitPropCurrent));
lv_previousValue = DataTableGetInt(true, ("MinDone_" + lv_triggeringArmyString));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10750
lv_previousValue = DataTableGetInt(true, ("DmgDone_" + lv_triggeringArmyString));
DataTableSetInt(true, ("DmgDone_" + lv_triggeringArmyString), (lv_previousValue+FixedToInt(EventUnitDamageAmount())));
lv_mineralValue = (EventUnitDamageAmount()*UnitTypeGetCost(UnitGetType(EventUnit()), c_unitCostMinerals)/UnitGetPropertyFixed(EventUnit(), c_unitPropLifeMax, c_unitPropCurrent));
lv_previousValue = DataTableGetInt(true, ("MinDone_" + lv_triggeringArmyString));
DataTableSetInt(true, ("MinDone_" + lv_triggeringArmyString), (lv_previousValue+FixedToInt(lv_mineralValue)));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10753
lv_previousValue = DataTableGetInt(true, ("MinDone_" + lv_triggeringArmyString));
DataTableSetInt(true, ("MinDone_" + lv_triggeringArmyString), (lv_previousValue+FixedToInt(lv_mineralValue)));
lv_vespeneValue = (EventUnitDamageAmount()*UnitTypeGetCost(UnitGetType(EventUnit()), c_unitCostVespene)/UnitGetPropertyFixed(EventUnit(), c_unitPropLifeMax, c_unitPropCurrent));
lv_previousValue = DataTableGetInt(true, ("VesDone_" + lv_triggeringArmyString));
DataTableSetInt(true, ("VesDone_" + lv_triggeringArmyString), (lv_previousValue+FixedToInt(lv_vespeneValue)));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10767
if ((UserDataGetGameLink("CampaignPerk", lv_indexPerk, "Effect", 1) == EventUnitDamageEffect())) {
lv_previousValue = DataTableGetInt(true, ("DmgDone_" + (lv_indexPerk)));
DataTableSetInt(true, ("DmgDone_" + (lv_indexPerk)), (lv_previousValue+FixedToInt(EventUnitDamageAmount())));
return true;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9604
DialogControlFadeTransparency(libVCUI_gv_pU_VoidHeroUIDialogDamageTakenImage[lv_index], PlayerGroupAll(), 0.25, 0.0);
}
if ((EventUnitDamageAmount() < 5.0)) {
if ((libVCUI_gv_pU_VoidHeroUIDamageTimer[lv_index] <= 0.25)) {
libVCUI_gv_pU_VoidHeroUIDamageTimer[lv_index] = 0.26;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9608
libVCUI_gv_pU_VoidHeroUIDamageTimer[lv_index] = 0.26;
DialogControlFadeTransparency(libVCUI_gv_pU_VoidHeroUIDialogDamageTakenImage[lv_index], PlayerGroupAll(), 0.25, 0.0);
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_VoidHeroUIDialogDamageTakenLabel[lv_index], FixedToText(EventUnitDamageAmount(), 0), PlayerGroupAll());
DialogControlSetVisible(libVCUI_gv_pU_VoidHeroUIDialogDamageTakenLabel[lv_index], PlayerGroupAll(), true);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9614
}
else {
if ((EventUnitDamageAmount() >= 5.0) && (EventUnitDamageAmount() <= 15.0)) {
if ((libVCUI_gv_pU_VoidHeroUIDamageTimer[lv_index] <= 0.5)) {
libVCUI_gv_pU_VoidHeroUIDamageTimer[lv_index] = 0.51;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9614
}
else {
if ((EventUnitDamageAmount() >= 5.0) && (EventUnitDamageAmount() <= 15.0)) {
if ((libVCUI_gv_pU_VoidHeroUIDamageTimer[lv_index] <= 0.5)) {
libVCUI_gv_pU_VoidHeroUIDamageTimer[lv_index] = 0.51;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9618
libVCUI_gv_pU_VoidHeroUIDamageTimer[lv_index] = 0.51;
DialogControlFadeTransparency(libVCUI_gv_pU_VoidHeroUIDialogDamageTakenImage[lv_index], PlayerGroupAll(), 0.5, 0.0);
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_VoidHeroUIDialogDamageTakenLabel[lv_index], FixedToText(EventUnitDamageAmount(), 0), PlayerGroupAll());
DialogControlSetVisible(libVCUI_gv_pU_VoidHeroUIDialogDamageTakenLabel[lv_index], PlayerGroupAll(), true);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:9627
libVCUI_gv_pU_VoidHeroUIDamageTimer[lv_index] = 1.01;
DialogControlFadeTransparency(libVCUI_gv_pU_VoidHeroUIDialogDamageTakenImage[lv_index], PlayerGroupAll(), 1.0, 0.0);
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_VoidHeroUIDialogDamageTakenLabel[lv_index], FixedToText(EventUnitDamageAmount(), 0), PlayerGroupAll());
DialogControlSetVisible(libVCUI_gv_pU_VoidHeroUIDialogDamageTakenLabel[lv_index], PlayerGroupAll(), true);
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:2576
}
gv_targetDummyDamageTotal += EventUnitDamageAmount();
gf_TargetDummyUpdateDamageUI();
return true;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:2576
}
gv_targetDummyDamageTotal += EventUnitDamageAmount();
gf_TargetDummyUpdateDamageUI();
return true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:10832
}
lv_damageValue = (EventUnitDamageAmount() + EventUnitDamageBehaviorShield());
if ((UnitFilterMatch(lv_unit, lv_owner, UnitFilter((1 << c_targetFilterHeroic), 0, (1 << c_targetFilterPlayer) | (1 << c_targetFilterAlly), 0)) == true)) {
if ((PlayerScoreValueGetAsInt(lv_owner, "JainaFrostbiteDamage") < libGDHL_gv_heroJainaFrostbiteConstant)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:18075
// Automatic Variable Declarations
// Variable Initialization
lv_damage = (EventUnitDamageAbsorbed() + EventUnitDamageAmount());
lv_image = EventUnit();
lv_imageOwner = UnitGetOwner(lv_image);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:20784
}
}
lv_healAmount = ((EventUnitDamageAmount() + EventUnitDamageBehaviorShield()) * lv_finalHealMod);
CatalogFieldValueSetFixed(c_gameCatalogEffect, "RexxarMishaBasicAttackRexxarHealingCreateHealer", "RechargeVitalRate", lv_mishaPlayer, lv_healAmount);
UnitCreateEffectUnitWithSource(EventUnitDamageSourceUnit(), "RexxarMishaBasicAttackRexxarHealingCreateHealer", libGame_gv_players[lv_mishaPlayer].lv_heroUnit, c_gameCatalogAbil, "RexxarBestialWrath");
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:23764
}
lv_damageAmount = ((EventUnitDamageAmount() + EventUnitDamageBehaviorShield()) * lv_damageDealtHealingFraction);
libGDHL_gv_heroTychusThatsTheStuffCombinedHeal[lv_itPlayer] += lv_damageAmount;
libGDHL_gv_heroTychusThatsTheStuffHealPreviewCombinedDamage[UnitGetOwner(lv_itUnit)] += lv_damageAmount;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:24733
}
lv_damageTaken = EventUnitDamageAmount();
lv_totalHealth = UnitGetPropertyFixed(lv_unit, c_unitPropLifeMax, c_unitPropCurrent);
lv_percentDamageTaken = (lv_damageTaken/lv_totalHealth);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:19444
lv_triggeringUnitType = UnitGetType(EventUnit());
lv_damagingUnitType = UnitGetType(EventUnitDamageSourceUnit());
lv_damageTaken = FixedToInt(EventUnitDamageAmount());
if ((lv_eventPlayer <= libCore_gv_bALMaxPlayers) && (UnitTypeTestAttribute(lv_triggeringUnitType, c_unitAttributeHeroic) == true) && (UnitTestState(EventUnit(), c_unitStateHallucination) == false) && (UnitHasBehavior(EventUnit(), "GenericVehicleBehaviorEmpty") == false) && (UnitHasBehavior(EventUnit(), "GenericVehicleBehaviorOccupied") == false)) {
if ((lv_eventUnitDamageSourcePlayer != 15)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:20195
lv_damagingPlayer = UnitGetOwner(EventUnitDamageSourceUnit());
lv_damagingUnit = EventUnitDamageSourceUnit();
lv_damage = FixedToInt(EventUnitDamageAmount());
if (((lv_damagingPlayer <= 0) || (lv_damagingPlayer > libCore_gv_bALMaxPlayers))) {
return true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:20230
lv_damagingPlayer = UnitGetOwner(EventUnitDamageSourceUnit());
lv_damagingUnit = EventUnitDamageSourceUnit();
lv_damage = FixedToInt(EventUnitDamageAmount());
if (((lv_damagingPlayer <= 0) || (lv_damagingPlayer > libCore_gv_bALMaxPlayers))) {
return true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/MapMechanicsLib.galaxy:5597
lv_MercCamp = libMapM_gf_JungleGetMercCampForUnit(EventUnitDamageSourceUnit());
libMapM_gf_JungleUpdateMercDamageTracker(lv_MercCamp, EventUnitDamageAmount());
return true;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:2484
lv_damageAttempted = EventUnitDamageAttempted();
lv_damageDone = EventUnitDamageAmount();
lv_damagingEffect = EventUnitDamageEffect();
lv_damagingEffectName = (lv_damagingEffect);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:8455
}
libSprt_gv_dEBUGDPSTrackerTotalDamage += EventUnitDamageAmount();
UnitGroupAdd(libSprt_gv_dEBUGDPSTrackerGroup, EventUnitDamageSourceUnit());
return true;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:9050
lv_currentHP = (UnitGetPropertyFixed(EventUnit(), c_unitPropLife, c_unitPropCurrent) + UnitGetPropertyFixed(EventUnit(), c_unitPropShields, c_unitPropCurrent));
lv_currentHP += 1.0;
lv_damagePercentage = (EventUnitDamageAmount() / lv_currentHP);
if ((UnitHasBehavior2(EventUnit(), "SymbioteCasterDummyBehavior") == true)) {
lv_flashOpacity -= 100.0;
mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmod — base.stormdata/LibMMAP.galaxy:2990
}
libMMAP_gf_CoreTakesDamagePlayGetHitSound(libGame_gv_teamOrderIndex_C, EventUnitDamageAmount());
return true;
}
mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmod — base.stormdata/LibMMAP.galaxy:3010
}
libMMAP_gf_CoreTakesDamagePlayGetHitSound(libGame_gv_teamChaosIndex_C, EventUnitDamageAmount());
return true;
}
mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod — base.stormdata/LibMLBD.galaxy:2599
}
libMLBD_gv_mMBOEDamageDoneToBoss[EventUnitDamageSourcePlayer()] += EventUnitDamageAmount();
if ((EventUnit() == libMLBD_gv_mMBOEBosses[1])) {
libMLBD_gv_mMBOELastBossAttackers[1] = EventUnitDamageSourcePlayer();
mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod — base.stormdata/LibMLBD.galaxy:2606
libMLBD_gv_mMBOELastBossAttackers[2] = EventUnitDamageSourcePlayer();
}
libGame_gf_SendMapSpecificAwardEvent(EventUnitDamageSourcePlayer(), EventUnitDamageAmount(), true);
if ((UnitHasBehavior2(EventUnit(), "BossDuelIncapacitated") == true)) {
libGame_gf_SendEventMapObjectiveCapturedByUnit(EventUnitDamageSourceUnit());
mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmod — base.stormdata/LibSCHO.galaxy:4525
lv_team = libGame_gf_TeamNumberOfPlayer(UnitGetOwner(EventUnit()));
if ((UnitGetType(EventUnit()) == "ZergUltralisk")) {
lv_damageAmount = (EventUnitDamageAmount() * libSCHO_gv_mMHO_UltraliskHealthWeighting);
}
else if ((UnitGetType(EventUnit()) == "ZergGuardian")) {
mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmod — base.stormdata/LibSCHO.galaxy:4528
}
else if ((UnitGetType(EventUnit()) == "ZergGuardian")) {
lv_damageAmount = (EventUnitDamageAmount() * libSCHO_gv_mMHO_GuardianHealthWeighting);
}
libSCHO_gv_mMHO_TotalZergHP[lv_team] -= lv_damageAmount;
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1597
}
libMSHE_gv_mMISDamageDoneToShrineMinions[EventUnitDamageSourcePlayer()] += FixedToInt(EventUnitDamageAmount());
libGame_gf_SendMapSpecificAwardEvent(EventUnitDamageSourcePlayer(), EventUnitDamageAmount(), true);
return true;
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1598
libMSHE_gv_mMISDamageDoneToShrineMinions[EventUnitDamageSourcePlayer()] += FixedToInt(EventUnitDamageAmount());
libGame_gf_SendMapSpecificAwardEvent(EventUnitDamageSourcePlayer(), EventUnitDamageAmount(), true);
return true;
}
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:2198
if ((UnitTypeTestAttribute(UnitGetType(EventUnit()), c_unitAttributeHeroic) == true)) {
libMSHE_gv_punisherHeroDamage += EventUnitDamageAmount();
}
else {
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:2201
}
else {
libMSHE_gv_punisherSiegeDamage += EventUnitDamageAmount();
}
return true;
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:3018
StatEventAddDataInt(StatEventLastCreated(), "TempleID", lv_itTempleIndex);
StatEventAddDataInt(StatEventLastCreated(), "TeamID", libGame_gf_TeamNumberOfPlayer(UnitGetOwner(libMLCP_gv_mMSkyTemples[lv_itTempleIndex].lv_temple)));
StatEventAddDataFixed(StatEventLastCreated(), "SkyTempleShotsDamage", EventUnitDamageAmount());
StatEventAddDataFixed(StatEventLastCreated(), "GameTime", libUIUI_gf_HeroesGameTime());
StatEventSend(StatEventLastCreated());
mods/heroesmapmods/battlegroundmapmods/starcraft.stormmod — base.stormdata/Lib566061C9.galaxy:203
lv_MercCamp = libMapM_gf_JungleGetMercCampForUnit(EventUnitDamageSourceUnit());
libMapM_gf_JungleUpdateMercDamageTracker(lv_MercCamp, EventUnitDamageAmount());
return true;
}
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:2833
lv_MercCamp = libMapM_gf_JungleGetMercCampForUnit(EventUnitDamageSourceUnit());
libMapM_gf_JungleUpdateMercDamageTracker(lv_MercCamp, EventUnitDamageAmount());
return true;
}
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:2029
// Variable Initialization
lv_damagingPlayer = EventUnitDamageSourcePlayer();
lv_damageAmount = EventUnitDamageAmount();
// Conditions
mods/heromods/amazon.stormmod — base.stormdata/LibHAMA.galaxy:167
if ((lv_currentCharge < lv_maximumCharge)) {
CatalogFieldValueModifyFixed(c_gameCatalogEffect, lv_currentChargeReference, "Amount", lv_amazonPlayer, EventUnitDamageAmount(), c_upgradeOperationAdd);
lv_currentCharge = CatalogFieldValueGetAsFixed(c_gameCatalogEffect, lv_currentChargeReference, "Amount", lv_amazonPlayer);
libNtve_gf_SetDialogItemCurrentValue(libHAMA_gv_amazonUI.lv_SurgeOfLightProgressBar, FixedToInt((100.0 * (lv_currentCharge / lv_maximumCharge))), libCore_gv_playerGroupFromPlayer[lv_amazonPlayer]);
mods/heromods/anduin.stormmod — base.stormdata/LibHAND.galaxy:126
}
lv_damageTaken = EventUnitDamageAmount();
lv_totalHealth = UnitGetPropertyFixed(lv_unit, c_unitPropLifeMax, c_unitPropCurrent);
lv_percentDamageTaken = (lv_damageTaken/lv_totalHealth);
mods/heromods/auriel.stormmod — base.stormdata/LibHAUR.galaxy:588
// Variable Initialization
lv_damageDealt = (EventUnitDamageAmount() + EventUnitDamageBehaviorShield());
lv_proxy = EventUnitDamageSourceUnit();
lv_proxyPlayer = UnitGetOwner(lv_proxy);
mods/heromods/auriel.stormmod — base.stormdata/LibHAUR.galaxy:681
if ((PlayerHasTalent(libHAUR_gv_heroAurielBestowHopeProxyOwner[lv_proxyPlayer], "AurielEmpathicLinkBestowHopeTalent") == true)) {
lv_auriel = libGame_gv_players[libHAUR_gv_heroAurielBestowHopeProxyOwner[lv_proxyPlayer]].lv_heroUnit;
lv_damageTaken = (EventUnitDamageAmount() + EventUnitDamageBehaviorShield());
UnitSetPropertyFixed(lv_auriel, c_unitPropEnergy, (UnitGetPropertyFixed(lv_auriel, c_unitPropEnergy, c_unitPropCurrent) + (lv_damageTaken * libHAUR_gv_heroAurielBestowHopeEmpathicLinkStoredPercentage)));
}
mods/heromods/dehaka.stormmod — base.stormdata/LibHDEH.galaxy:385
}
lv_damageAmount = (EventUnitDamageAmount() + EventUnitDamageBehaviorShield());
if ((PlayerHasTalent(lv_dehakaPlayer, "DehakaAdaptationChangeIsSurvivalTalent") != true)) {
lv_damageAmount = (lv_damageAmount * libHDEH_gv_heroDehakaAdaptationBaseHealMod);
mods/heromods/dehaka.stormmod — base.stormdata/LibHDEH.galaxy:470
}
lv_incomingDamage = (EventUnitDamageAmount() + EventUnitDamageBehaviorShield());
if ((PlayerHasTalent(lv_dehakaPlayer, "DehakaAdaptationChangeIsSurvivalTalent") != true)) {
lv_incomingDamage = (lv_incomingDamage * libHDEH_gv_heroDehakaAdaptationBaseHealMod);
mods/heromods/dva.stormmod — base.stormdata/LibHDVA.galaxy:1028
}
lv_incomingDamageAmount = (EventUnitDamageAmount() + EventUnitDamageBehaviorShield());
if ((UnitHasBehavior2(EventUnitDamageSourceUnit(), "DVaMechDefenseMatrixDebuff") == true)) {
lv_incomingDamageAmount /= 0.25;
mods/heromods/dva.stormmod — base.stormdata/LibHDVA.galaxy:1033
}
if (((PlayerHasTalent(lv_dVaPlayer, "DVaMechAblativeArmor") == true) && (EventUnitDamageAmount() <= StringToFixed(CatalogFieldValueGet(c_gameCatalogBehavior, "DVaMechAblativeArmorDamageResponseCarry", "DamageResponse.Maximum", lv_dVaPlayer))))) {
lv_incomingDamageAmount /= 0.5;
}
mods/heromods/firebat.stormmod — base.stormdata/LibHFIR.galaxy:444
}
lv_damageAmount = (EventUnitDamageAmount() + EventUnitDamageBehaviorShield());
lv_damageAmount = (lv_damageAmount * libHFIR_gv_heroFirebatJuggernautPlatingBaseShieldMod);
libHFIR_gv_heroFirebatJuggernautPlatingCombinedShield[lv_firebatPlayer] += lv_damageAmount;
mods/heromods/guldan.stormmod — base.stormdata/LibHGUL.galaxy:195
// Automatic Variable Declarations
// Variable Initialization
lv_damageDealt = (EventUnitDamageAmount() + EventUnitDamageBehaviorShield());
// Conditions
mods/heromods/mephisto.stormmod — base.stormdata/LibHMEP.galaxy:89
}
libHMEP_gv_heroMephistoLightningNovaStaticBarrierShieldValue[lv_owner] += ((EventUnitDamageAmount() + EventUnitDamageBehaviorShield()) * libHMEP_gv_heroMephistoLightningNovaStaticBarrierShieldFraction);
CatalogFieldValueSetFixed(c_gameCatalogBehavior, "MephistoLightningNovaStaticBarrierShield", "DamageResponse.ModifyLimit", lv_owner, libHMEP_gv_heroMephistoLightningNovaStaticBarrierShieldValue[lv_owner]);
return true;
mods/heromods/samuro.stormmod — base.stormdata/LibHSAM.galaxy:1344
// Automatic Variable Declarations
// Variable Initialization
lv_damage = (EventUnitDamageAmount() + EventUnitDamageBehaviorShield());
lv_image = EventUnit();
lv_imageOwner = UnitGetOwner(lv_image);
mods/heromods/thefirelords.stormmod — base.stormdata/LibHMaj.galaxy:768
}
lv_damageValue = (EventUnitDamageAmount() + EventUnitDamageBehaviorShield());
if ((UnitHasBehavior2(lv_ragnarosUnit, "RagnarosBlastWaveTemperedFlame") == true)) {
lv_currentShields = UnitBehaviorDamageModifyRemaining(lv_ragnarosUnit, "RagnarosBlastWaveTemperedFlame");
mods/heromods/thefirelords.stormmod — base.stormdata/LibHMaj.galaxy:831
}
lv_damageAmount = (EventUnitDamageAmount() + EventUnitDamageBehaviorShield());
lv_damageValue = ((lv_damageAmount * lv_healingCoefficient) / CatalogFieldValueGetAsInt(c_gameCatalogBehavior, "RagnarosEmpowerSulfurasCauterizeWoundsHeal", "PeriodCount", c_playerAny));
CatalogFieldValueSetFixed(c_gameCatalogEffect, "RagnarosEmpowerSulfurasCauterizeWoundsCreateHealer", "RechargeVitalRate", lv_owner, lv_damageValue);
mods/heromods/whitemane.stormmod — base.stormdata/LibHWHI.galaxy:89
}
lv_damageAmount = (EventUnitDamageAmount() + EventUnitDamageBehaviorShield());
libHWHI_gv_heroWhitemaneZealCombinedHeal[lv_itPlayer] += lv_damageAmount;
return true;
mods/heromods/zarya.stormmod — base.stormdata/LibHZAR.galaxy:838
lv_zaryaUnit = UnitBehaviorEffectUnit(lv_allyUnit, "ZaryaShieldAlly", c_effectUnitCaster, 0);
lv_zaryaOwner = UnitGetOwner(lv_zaryaUnit);
lv_damageAmount = (EventUnitDamageAmount() + EventUnitDamageBehaviorShield());
lv_currentBoost = UnitGetPropertyFixed(lv_zaryaUnit, c_unitPropEnergy, c_unitPropCurrent);
lv_incomingBoost = (lv_damageAmount / (CatalogFieldValueGetAsFixed(c_gameCatalogBehavior, "ZaryaEnergyBoostDecay", "Period", lv_zaryaOwner) / libHZAR_gv_heroZaryaTogetherWeAreStrongUnscaledDamagetoEnergyConversionRate));
mods/heromods/zuljin.stormmod — base.stormdata/LibHZUL.galaxy:900
}
lv_damageAmount = ((EventUnitDamageAmount() + EventUnitDamageBehaviorShield()) * lv_damageDealtHealingFraction);
libHZUL_gv_heroZuljinAmaniResilienceCombinedHeal[lv_itPlayer] += lv_damageAmount;
libHZUL_gv_heroZuljinAmaniResilienceHealPreviewCombinedDamage[UnitGetOwner(lv_itUnit)] += lv_damageAmount;
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:6745
DialogControlFadeTransparency(libNCUI_gv_NU_HeroDialogDamageTakenImage[lv_index], PlayerGroupAll(), 0.25, 0.0);
}
if ((EventUnitDamageAmount() < 5.0)) {
if ((libNCUI_gv_NU_HeroDamageTimer[lv_index] <= 0.25)) {
libNCUI_gv_NU_HeroDamageTimer[lv_index] = 0.26;
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:6749
libNCUI_gv_NU_HeroDamageTimer[lv_index] = 0.26;
DialogControlFadeTransparency(libNCUI_gv_NU_HeroDialogDamageTakenImage[lv_index], PlayerGroupAll(), 0.25, 0.0);
libNtve_gf_SetDialogItemText(libNCUI_gv_NU_HeroDialogDamageTakenLabel[lv_index], FixedToText(EventUnitDamageAmount(), 0), PlayerGroupAll());
DialogControlSetVisible(libNCUI_gv_NU_HeroDialogDamageTakenLabel[lv_index], PlayerGroupAll(), true);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:6755
}
else {
if ((EventUnitDamageAmount() >= 5.0) && (EventUnitDamageAmount() <= 15.0)) {
if ((libNCUI_gv_NU_HeroDamageTimer[lv_index] <= 0.5)) {
libNCUI_gv_NU_HeroDamageTimer[lv_index] = 0.51;
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:6755
}
else {
if ((EventUnitDamageAmount() >= 5.0) && (EventUnitDamageAmount() <= 15.0)) {
if ((libNCUI_gv_NU_HeroDamageTimer[lv_index] <= 0.5)) {
libNCUI_gv_NU_HeroDamageTimer[lv_index] = 0.51;
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:6759
libNCUI_gv_NU_HeroDamageTimer[lv_index] = 0.51;
DialogControlFadeTransparency(libNCUI_gv_NU_HeroDialogDamageTakenImage[lv_index], PlayerGroupAll(), 0.5, 0.0);
libNtve_gf_SetDialogItemText(libNCUI_gv_NU_HeroDialogDamageTakenLabel[lv_index], FixedToText(EventUnitDamageAmount(), 0), PlayerGroupAll());
DialogControlSetVisible(libNCUI_gv_NU_HeroDialogDamageTakenLabel[lv_index], PlayerGroupAll(), true);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:6768
libNCUI_gv_NU_HeroDamageTimer[lv_index] = 1.01;
DialogControlFadeTransparency(libNCUI_gv_NU_HeroDialogDamageTakenImage[lv_index], PlayerGroupAll(), 1.0, 0.0);
libNtve_gf_SetDialogItemText(libNCUI_gv_NU_HeroDialogDamageTakenLabel[lv_index], FixedToText(EventUnitDamageAmount(), 0), PlayerGroupAll());
DialogControlSetVisible(libNCUI_gv_NU_HeroDialogDamageTakenLabel[lv_index], PlayerGroupAll(), true);
}
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova01.sc2map/MapScript.galaxy:8961
}
gv_statNovaDamageFromWarhawk += EventUnitDamageAmount();
return true;
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova01.sc2map — MapScript.galaxy:8961
}
gv_statNovaDamageFromWarhawk += EventUnitDamageAmount();
return true;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:21542
}
AchievementTermQuantityAdd(lv_killingplayer, "CommanderMengskTopBarKills", RoundI(EventUnitDamageAmount()));
return true;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:10531
libCOMU_gf_CT_ApplySideStep(EventUnit(), EventUnitDamageSourceUnit());
libCOMU_gf_CT_ApplyPhotonOverload(EventUnit(), EventUnitDamageSourceUnit());
libCOMU_gf_CT_ApplyLifeLeech(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount());
libCOMU_gf_CT_ApplyFoodHuntAggro(EventUnit(), EventUnitDamageSourceUnit());
libCOMU_gf_CT_ApplyDamageBounce2(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount(), EventUnitDamageEffect());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:10533
libCOMU_gf_CT_ApplyLifeLeech(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount());
libCOMU_gf_CT_ApplyFoodHuntAggro(EventUnit(), EventUnitDamageSourceUnit());
libCOMU_gf_CT_ApplyDamageBounce2(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount(), EventUnitDamageEffect());
libCOMU_gf_CT_ApplyTempDamageReflect(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount(), EventUnitDamageEffect());
libCOMU_gf_CT_NullifyDamage(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:10534
libCOMU_gf_CT_ApplyFoodHuntAggro(EventUnit(), EventUnitDamageSourceUnit());
libCOMU_gf_CT_ApplyDamageBounce2(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount(), EventUnitDamageEffect());
libCOMU_gf_CT_ApplyTempDamageReflect(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount(), EventUnitDamageEffect());
libCOMU_gf_CT_NullifyDamage(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount());
if ((RandomInt(0, libCOMI_gf_DifficultyValueInt2(libCOMI_gf_GetMissionDifficulty(), 500, 400, 300, 200, 0, 0)) <= FixedToInt(EventUnitDamageAmount()))) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:10535
libCOMU_gf_CT_ApplyDamageBounce2(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount(), EventUnitDamageEffect());
libCOMU_gf_CT_ApplyTempDamageReflect(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount(), EventUnitDamageEffect());
libCOMU_gf_CT_NullifyDamage(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount());
if ((RandomInt(0, libCOMI_gf_DifficultyValueInt2(libCOMI_gf_GetMissionDifficulty(), 500, 400, 300, 200, 0, 0)) <= FixedToInt(EventUnitDamageAmount()))) {
libCOMU_gf_CT_ApplyEvolve(EventUnitDamageSourceUnit(), EventUnit());
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:10536
libCOMU_gf_CT_ApplyTempDamageReflect(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount(), EventUnitDamageEffect());
libCOMU_gf_CT_NullifyDamage(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount());
if ((RandomInt(0, libCOMI_gf_DifficultyValueInt2(libCOMI_gf_GetMissionDifficulty(), 500, 400, 300, 200, 0, 0)) <= FixedToInt(EventUnitDamageAmount()))) {
libCOMU_gf_CT_ApplyEvolve(EventUnitDamageSourceUnit(), EventUnit());
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:10540
}
libCOMU_gf_CT_ApplyFear(EventUnit(), EventUnitDamageSourceUnit(), EventUnitDamageAmount());
return true;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:6562
}
libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()] += EventUnitDamageAmount();
PlayerScoreValueSetFromInt(EventUnitDamageSourcePlayer(), "ArtanisSoADamage", FixedToInt(libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()]));
return true;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:6591
}
libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()] += EventUnitDamageAmount();
PlayerScoreValueSetFromInt(EventUnitDamageSourcePlayer(), "ArtanisSoADamage", FixedToInt(libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()]));
return true;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:6654
}
libCOOC_gv_cC_ScoreVorazunBHDmg[EventUnitDamageSourcePlayer()] += EventUnitDamageAmount();
PlayerScoreValueSetFromInt(EventUnitDamageSourcePlayer(), "VorazunBlackHoleDamage", FixedToInt(libCOOC_gv_cC_ScoreVorazunBHDmg[EventUnitDamageSourcePlayer()]));
if ((libCOOC_gv_cC_InContestMap == false) && ((libCOMI_gf_DifficultyLevelForPlayerCoop(EventUnitDamageSourcePlayer()) == 3) || (libCOMI_gf_DifficultyLevelForPlayerCoop(EventUnitDamageSourcePlayer()) == 4)) && (UnitIsAlive(EventUnit()) == false) && (libCOOC_gf_ActiveCommanderForPlayer(EventUnitDamageSourcePlayer()) == "ProtossVorazun")) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:6699
}
libCOOC_gv_cC_ScoreVorazunCloakDmg[EventUnitDamageSourcePlayer()] += EventUnitDamageAmount();
PlayerScoreValueSetFromInt(EventUnitDamageSourcePlayer(), "VorazunCloakedDamage", FixedToInt(libCOOC_gv_cC_ScoreVorazunCloakDmg[EventUnitDamageSourcePlayer()]));
return true;