# Damaging Player
Grammar — Damaging player
Flags —Native
|Function
Returns the damaging player.
Returns — int
native int EventUnitDamageSourcePlayer();
# Supported triggers
- Unit Takes Damage — TriggerAddEventUnitDamaged
- Unit Absorbs Damage — TriggerAddEventUnitDamageAbsorbed
# 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/zzerus02.sc2map/MapScript.galaxy:2625
}
if (!((EventUnitDamageSourcePlayer() != gv_pLAYER_01_USER))) {
return false;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map/MapScript.galaxy:1383
}
if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
return false;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2map — MapScript.galaxy:2625
}
if (!((EventUnitDamageSourcePlayer() != gv_pLAYER_01_USER))) {
return false;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map — MapScript.galaxy:1383
}
if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:3068
}
if (!((EventUnitDamageSourcePlayer() == gv_p02_ENEMY))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:14557
}
if (!((EventUnitDamageSourcePlayer() == gv_p02_ENEMY))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15005
}
if (!((EventUnitDamageSourcePlayer() == gv_p01_USER))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15938
}
if (!((EventUnitDamageSourcePlayer() == gv_p01_USER))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:3394
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION4) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION3) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION5)))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:3394
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION4) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION3) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION5)))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:3394
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION4) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION3) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION5)))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:3503
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION4) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION3) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION5)))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:3503
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION4) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION3) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION5)))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:3503
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION4) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION3) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION5)))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:3068
}
if (!((EventUnitDamageSourcePlayer() == gv_p02_ENEMY))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:14557
}
if (!((EventUnitDamageSourcePlayer() == gv_p02_ENEMY))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:15005
}
if (!((EventUnitDamageSourcePlayer() == gv_p01_USER))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:15938
}
if (!((EventUnitDamageSourcePlayer() == gv_p01_USER))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:3394
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION4) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION3) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION5)))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:3394
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION4) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION3) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION5)))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:3394
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION4) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION3) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION5)))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:3503
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION4) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION3) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION5)))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:3503
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION4) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION3) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION5)))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:3503
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION4) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION3) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION5)))) {
return false;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10264
// Conditions
if (testConds) {
if (!((libNtve_gf_PlayerIsEnemy(EventUnitDamageSourcePlayer(), EventPlayer(), libNtve_ge_PlayerRelation_Enemy) == true))) {
return false;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10745
}
else if ((EventUnitDamageSourcePlayer() == 1)) {
lv_triggeringArmyString = libVoiC_gf_PC_ArmyStringFromUnitType(UnitGetType(EventUnitDamageSourceUnit()));
if ((lv_triggeringArmyString != null)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7675
}
if (!((EventUnitDamageSourcePlayer() != 1))) {
return false;
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:5343
// Automatic Variable Declarations
// Implementation
return EventUnitDamageSourcePlayer();
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:4571
// Automatic Variable Declarations
// Implementation
return EventUnitDamageSourcePlayer();
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/AILib.galaxy:2846
// Conditions
if (testConds) {
if (!((EventUnitDamageSourcePlayer() > 0))) {
return false;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/AILib.galaxy:2850
}
if (!((EventUnitDamageSourcePlayer() <= libCore_gv_bALMaxGamePlayers))) {
return false;
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/AILib.galaxy:2862
lv_defenderAIIndex = libAIAI_gf_DefenderAIIndexOfUnit(EventUnit());
if ((lv_defenderAIIndex > 0)) {
libAIAI_gv_defenderAI[lv_defenderAIIndex].lv_playerIsThreat[EventUnitDamageSourcePlayer()] = true;
if ((libAIAI_gv_defenderAI[lv_defenderAIIndex].lv_state == libAIAI_ge_DefenderAIState_Idle)) {
if ((UnitGetType(EventUnitDamageSourceUnit()) == "HeroGall")) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/AILib.galaxy:2865
if ((libAIAI_gv_defenderAI[lv_defenderAIIndex].lv_state == libAIAI_ge_DefenderAIState_Idle)) {
if ((UnitGetType(EventUnitDamageSourceUnit()) == "HeroGall")) {
libAIAI_gv_defenderAI[lv_defenderAIIndex].lv_playerIsThreat[libGDHL_gv_chogallPairs[libGame_gf_TeamNumberOfPlayer(EventUnitDamageSourcePlayer())].lv_choPlayer] = true;
UnitGroupAdd(libAIAI_gv_defenderAI[lv_defenderAIIndex].lv_validTargets, libGDHL_gv_chogallPairs[libGame_gf_TeamNumberOfPlayer(EventUnitDamageSourcePlayer())].lv_choUnit);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/AILib.galaxy:2866
if ((UnitGetType(EventUnitDamageSourceUnit()) == "HeroGall")) {
libAIAI_gv_defenderAI[lv_defenderAIIndex].lv_playerIsThreat[libGDHL_gv_chogallPairs[libGame_gf_TeamNumberOfPlayer(EventUnitDamageSourcePlayer())].lv_choPlayer] = true;
UnitGroupAdd(libAIAI_gv_defenderAI[lv_defenderAIIndex].lv_validTargets, libGDHL_gv_chogallPairs[libGame_gf_TeamNumberOfPlayer(EventUnitDamageSourcePlayer())].lv_choUnit);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:10818
// Variable Initialization
lv_unit = EventUnit();
lv_owner = EventUnitDamageSourcePlayer();
// Conditions
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:19440
lv_missionTime = GameGetMissionTime();
lv_eventUnitDamageSourcePlayer = EventUnitDamageSourcePlayer();
lv_eventPlayer = EventPlayer();
lv_triggeringUnitType = UnitGetType(EventUnit());
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SoundLib.galaxy:1369
lv_triggeringPlayer = EventPlayer();
lv_damagingPlayer = EventUnitDamageSourcePlayer();
lv_triggeringUnit = EventUnit();
lv_damageAttempted = EventUnitDamageAttemptedVitals();
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:2453
// Variable Initialization
lv_damagingPlayer = EventUnitDamageSourcePlayer();
lv_damagingEffectName = "";
lv_damagingEffectCountAsStr = "";
mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod — base.stormdata/LibMLBD.galaxy:2589
// Conditions
if (testConds) {
if (!((EventUnitDamageSourcePlayer() <= libCore_gv_bALMaxPlayers))) {
return false;
}
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:2601
libMLBD_gv_mMBOEDamageDoneToBoss[EventUnitDamageSourcePlayer()] += EventUnitDamageAmount();
if ((EventUnit() == libMLBD_gv_mMBOEBosses[1])) {
libMLBD_gv_mMBOELastBossAttackers[1] = EventUnitDamageSourcePlayer();
}
else {
mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod — base.stormdata/LibMLBD.galaxy:2604
}
else {
libMLBD_gv_mMBOELastBossAttackers[2] = EventUnitDamageSourcePlayer();
}
libGame_gf_SendMapSpecificAwardEvent(EventUnitDamageSourcePlayer(), EventUnitDamageAmount(), true);
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:4531
}
libSCHO_gv_mMHO_TotalZergHP[lv_team] -= lv_damageAmount;
libSCHO_gf_MMHOEndofMatchAwardZergCrusherModifyValuesandReport(EventUnitDamageSourcePlayer(), lv_damageAmount);
if ((lv_team == libGame_gv_teamOrderIndex_C)) {
if ((lv_damageAmount >= UnitGetPropertyFixed(libSCHO_gv_mMHO_OrderProgressUnit, c_unitPropLife, c_unitPropCurrent))) {
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1587
}
if (!(((EventUnitDamageSourcePlayer() >= 1) && (EventUnitDamageSourcePlayer() <= libCore_gv_bALMaxPlayers)))) {
return false;
}
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1587
}
if (!(((EventUnitDamageSourcePlayer() >= 1) && (EventUnitDamageSourcePlayer() <= libCore_gv_bALMaxPlayers)))) {
return false;
}
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/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:2028
// Automatic Variable Declarations
// Variable Initialization
lv_damagingPlayer = EventUnitDamageSourcePlayer();
lv_damageAmount = EventUnitDamageAmount();
mods/heromods/guldan.stormmod — base.stormdata/LibHGUL.galaxy:207
}
if (!((PlayerHasTalent(EventUnitDamageSourcePlayer(), "GuldanLifeTapDarknessWithin") == true))) {
return false;
}
mods/heromods/guldan.stormmod — base.stormdata/LibHGUL.galaxy:221
}
libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] = (libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] + lv_damageDealt);
PlayerScoreValueSetFromFixed(EventUnitDamageSourcePlayer(), "GenericHeroRealScoreValue1", MinF(libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()], CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer())));
if ((libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] >= CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer()))) {
mods/heromods/guldan.stormmod — base.stormdata/LibHGUL.galaxy:221
}
libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] = (libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] + lv_damageDealt);
PlayerScoreValueSetFromFixed(EventUnitDamageSourcePlayer(), "GenericHeroRealScoreValue1", MinF(libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()], CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer())));
if ((libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] >= CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer()))) {
mods/heromods/guldan.stormmod — base.stormdata/LibHGUL.galaxy:222
libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] = (libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] + lv_damageDealt);
PlayerScoreValueSetFromFixed(EventUnitDamageSourcePlayer(), "GenericHeroRealScoreValue1", MinF(libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()], CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer())));
if ((libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] >= CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer()))) {
UnitBehaviorAdd(EventUnitDamageSourceUnit(), "GuldanLifeTapDarknessWithinReady", EventUnitDamageSourceUnit(), 1);
mods/heromods/guldan.stormmod — base.stormdata/LibHGUL.galaxy:222
libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] = (libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] + lv_damageDealt);
PlayerScoreValueSetFromFixed(EventUnitDamageSourcePlayer(), "GenericHeroRealScoreValue1", MinF(libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()], CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer())));
if ((libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] >= CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer()))) {
UnitBehaviorAdd(EventUnitDamageSourceUnit(), "GuldanLifeTapDarknessWithinReady", EventUnitDamageSourceUnit(), 1);
mods/heromods/guldan.stormmod — base.stormdata/LibHGUL.galaxy:222
libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] = (libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] + lv_damageDealt);
PlayerScoreValueSetFromFixed(EventUnitDamageSourcePlayer(), "GenericHeroRealScoreValue1", MinF(libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()], CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer())));
if ((libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] >= CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer()))) {
UnitBehaviorAdd(EventUnitDamageSourceUnit(), "GuldanLifeTapDarknessWithinReady", EventUnitDamageSourceUnit(), 1);
mods/heromods/guldan.stormmod — base.stormdata/LibHGUL.galaxy:223
libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] = (libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] + lv_damageDealt);
PlayerScoreValueSetFromFixed(EventUnitDamageSourcePlayer(), "GenericHeroRealScoreValue1", MinF(libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()], CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer())));
if ((libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] >= CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer()))) {
UnitBehaviorAdd(EventUnitDamageSourceUnit(), "GuldanLifeTapDarknessWithinReady", EventUnitDamageSourceUnit(), 1);
}
mods/heromods/guldan.stormmod — base.stormdata/LibHGUL.galaxy:223
libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] = (libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] + lv_damageDealt);
PlayerScoreValueSetFromFixed(EventUnitDamageSourcePlayer(), "GenericHeroRealScoreValue1", MinF(libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()], CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer())));
if ((libHGUL_gv_heroGuldanDarknessWithinDamageTracker[EventUnitDamageSourcePlayer()] >= CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "GuldanLifeTapDarknessWithinDamageThreshold", "Amount", EventUnitDamageSourcePlayer()))) {
UnitBehaviorAdd(EventUnitDamageSourceUnit(), "GuldanLifeTapDarknessWithinReady", EventUnitDamageSourceUnit(), 1);
}
mods/heromods/mephisto.stormmod — base.stormdata/LibHMEP.galaxy:70
// Variable Initialization
lv_unit = EventUnit();
lv_owner = EventUnitDamageSourcePlayer();
lv_mephistoUnit = libGame_gv_players[lv_owner].lv_heroUnit;
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:2480
}
if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:4831
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
return false;
}
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:4831
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
return false;
}
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:4908
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
return false;
}
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:4908
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
return false;
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:4973
}
if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:5733
}
if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2map — MapScript.galaxy:2480
}
if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2map — MapScript.galaxy:4831
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
return false;
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2map — MapScript.galaxy:4831
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
return false;
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2map — MapScript.galaxy:4908
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
return false;
}
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2map — MapScript.galaxy:4908
}
if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
return false;
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2map — MapScript.galaxy:4973
}
if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2map — MapScript.galaxy:5733
}
if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:18135
// Conditions
if (testConds) {
if (!((TechTreeUpgradeCount(EventUnitDamageSourcePlayer(), "FenixImmortalDetonationShot", c_techCountCompleteOnly) == 1))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:18139
}
if (!((UnitFilterMatch(EventUnit(), EventUnitDamageSourcePlayer(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterHidden - 32)))) == true))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:26096
// Conditions
if (testConds) {
if (!((CatalogFieldValueGet(c_gameCatalogEffect, EventUnitDamageEffect(), "Death", EventUnitDamageSourcePlayer()) == "Fire"))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:6515
}
if (!((libNtve_gf_PlayerIsEnemy(EventUnitDamageSourcePlayer(), EventPlayer(), libNtve_ge_PlayerRelation_Enemy) == true))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:6552
// Conditions
if (testConds) {
if (!((libNtve_gf_PlayerIsEnemy(EventUnitDamageSourcePlayer(), EventPlayer(), libNtve_ge_PlayerRelation_Enemy) == true))) {
return false;
}
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:6563
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:6563
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:6581
// Conditions
if (testConds) {
if (!((libNtve_gf_PlayerIsEnemy(EventUnitDamageSourcePlayer(), EventPlayer(), libNtve_ge_PlayerRelation_Enemy) == true))) {
return false;
}
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:6592
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:6592
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:6636
// Conditions
if (testConds) {
if (!((PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), EventUnitDamageSourcePlayer()) == true))) {
return false;
}