# Damaging Player

Grammar — Damaging player
FlagsNative | Function

Returns the damaging player.

Returns — int

native int EventUnitDamageSourcePlayer();

# Supported triggers

Category: Unit / Combat

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:2625

        }

        if (!((EventUnitDamageSourcePlayer() != gv_pLAYER_01_USER))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.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.sc2mapMapScript.galaxy:2625

        }

        if (!((EventUnitDamageSourcePlayer() != gv_pLAYER_01_USER))) {
            return false;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2mapMapScript.galaxy:1383

        }

        if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
            return false;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:3068

        }

        if (!((EventUnitDamageSourcePlayer() == gv_p02_ENEMY))) {
            return false;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:14557

        }

        if (!((EventUnitDamageSourcePlayer() == gv_p02_ENEMY))) {
            return false;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15005

        }

        if (!((EventUnitDamageSourcePlayer() == gv_p01_USER))) {
            return false;
        }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15938

        }

        if (!((EventUnitDamageSourcePlayer() == gv_p01_USER))) {
            return false;
        }

campaigns/void.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2mapMapScript.galaxy:3068

        }

        if (!((EventUnitDamageSourcePlayer() == gv_p02_ENEMY))) {
            return false;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:14557

        }

        if (!((EventUnitDamageSourcePlayer() == gv_p02_ENEMY))) {
            return false;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:15005

        }

        if (!((EventUnitDamageSourcePlayer() == gv_p01_USER))) {
            return false;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:15938

        }

        if (!((EventUnitDamageSourcePlayer() == gv_p01_USER))) {
            return false;
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.galaxy:3503

        }

        if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION4) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION3) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION5)))) {
            return false;
        }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10264

    // Conditions
    if (testConds) {
        if (!((libNtve_gf_PlayerIsEnemy(EventUnitDamageSourcePlayer(), EventPlayer(), libNtve_ge_PlayerRelation_Enemy) == true))) {
            return false;
        }

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10745


    }
    else if ((EventUnitDamageSourcePlayer() == 1)) {
        lv_triggeringArmyString = libVoiC_gf_PC_ArmyStringFromUnitType(UnitGetType(EventUnitDamageSourceUnit()));
        if ((lv_triggeringArmyString != null)) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7675

        }

        if (!((EventUnitDamageSourcePlayer() != 1))) {
            return false;
        }

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:5343

    // Automatic Variable Declarations
    // Implementation
    return EventUnitDamageSourcePlayer();
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:4571

    // Automatic Variable Declarations
    // Implementation
    return EventUnitDamageSourcePlayer();
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/AILib.galaxy:2846

    // Conditions
    if (testConds) {
        if (!((EventUnitDamageSourcePlayer() > 0))) {
            return false;
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/AILib.galaxy:2850

        }

        if (!((EventUnitDamageSourcePlayer() <= libCore_gv_bALMaxGamePlayers))) {
            return false;
        }

mods/heroesdata.stormmodbase.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.stormmodbase.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.stormmodbase.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.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:10818

    // Variable Initialization
    lv_unit = EventUnit();
    lv_owner = EventUnitDamageSourcePlayer();

    // Conditions

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:19440


    lv_missionTime = GameGetMissionTime();
    lv_eventUnitDamageSourcePlayer = EventUnitDamageSourcePlayer();
    lv_eventPlayer = EventPlayer();
    lv_triggeringUnitType = UnitGetType(EventUnit());

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SoundLib.galaxy:1369


    lv_triggeringPlayer = EventPlayer();
    lv_damagingPlayer = EventUnitDamageSourcePlayer();
    lv_triggeringUnit = EventUnit();
    lv_damageAttempted = EventUnitDamageAttemptedVitals();

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:2453


    // Variable Initialization
    lv_damagingPlayer = EventUnitDamageSourcePlayer();
    lv_damagingEffectName = "";
    lv_damagingEffectCountAsStr = "";

mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmodbase.stormdata/LibMLBD.galaxy:2589

    // Conditions
    if (testConds) {
        if (!((EventUnitDamageSourcePlayer() <= libCore_gv_bALMaxPlayers))) {
            return false;
        }

mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmodbase.stormdata/LibMLBD.galaxy:2599

    }

    libMLBD_gv_mMBOEDamageDoneToBoss[EventUnitDamageSourcePlayer()] += EventUnitDamageAmount();
    if ((EventUnit() == libMLBD_gv_mMBOEBosses[1])) {
        libMLBD_gv_mMBOELastBossAttackers[1] = EventUnitDamageSourcePlayer();

mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmodbase.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.stormmodbase.stormdata/LibMLBD.galaxy:2604

    }
    else {
        libMLBD_gv_mMBOELastBossAttackers[2] = EventUnitDamageSourcePlayer();
    }
    libGame_gf_SendMapSpecificAwardEvent(EventUnitDamageSourcePlayer(), EventUnitDamageAmount(), true);

mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmodbase.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.stormmodbase.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.stormmodbase.stormdata/LibMSHE.galaxy:1587

        }

        if (!(((EventUnitDamageSourcePlayer() >= 1) && (EventUnitDamageSourcePlayer() <= libCore_gv_bALMaxPlayers)))) {
            return false;
        }

mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmodbase.stormdata/LibMSHE.galaxy:1587

        }

        if (!(((EventUnitDamageSourcePlayer() >= 1) && (EventUnitDamageSourcePlayer() <= libCore_gv_bALMaxPlayers)))) {
            return false;
        }

mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmodbase.stormdata/LibMSHE.galaxy:1597

    }

    libMSHE_gv_mMISDamageDoneToShrineMinions[EventUnitDamageSourcePlayer()] += FixedToInt(EventUnitDamageAmount());
    libGame_gf_SendMapSpecificAwardEvent(EventUnitDamageSourcePlayer(), EventUnitDamageAmount(), true);
    return true;

mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmodbase.stormdata/LibMSHE.galaxy:1598


    libMSHE_gv_mMISDamageDoneToShrineMinions[EventUnitDamageSourcePlayer()] += FixedToInt(EventUnitDamageAmount());
    libGame_gf_SendMapSpecificAwardEvent(EventUnitDamageSourcePlayer(), EventUnitDamageAmount(), true);
    return true;
}

mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmodbase.stormdata/LibMSC2.galaxy:2028

    // Automatic Variable Declarations
    // Variable Initialization
    lv_damagingPlayer = EventUnitDamageSourcePlayer();
    lv_damageAmount = EventUnitDamageAmount();

mods/heromods/guldan.stormmodbase.stormdata/LibHGUL.galaxy:207

        }

        if (!((PlayerHasTalent(EventUnitDamageSourcePlayer(), "GuldanLifeTapDarknessWithin") == true))) {
            return false;
        }

mods/heromods/guldan.stormmodbase.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.stormmodbase.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.stormmodbase.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.stormmodbase.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.stormmodbase.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.stormmodbase.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.stormmodbase.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.stormmodbase.stormdata/LibHMEP.galaxy:70

    // Variable Initialization
    lv_unit = EventUnit();
    lv_owner = EventUnitDamageSourcePlayer();
    lv_mephistoUnit = libGame_gv_players[lv_owner].lv_heroUnit;

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:2480

        }

        if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
            return false;
        }

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:4831

        }

        if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
            return false;
        }

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:4831

        }

        if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
            return false;
        }

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:4908

        }

        if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
            return false;
        }

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:4908

        }

        if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
            return false;
        }

mods/novastoryassets.sc2modbase3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:4973

        }

        if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
            return false;
        }

mods/novastoryassets.sc2modbase3.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.sc2mapMapScript.galaxy:2480

        }

        if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
            return false;
        }

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2mapMapScript.galaxy:4831

        }

        if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
            return false;
        }

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2mapMapScript.galaxy:4831

        }

        if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
            return false;
        }

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2mapMapScript.galaxy:4908

        }

        if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
            return false;
        }

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2mapMapScript.galaxy:4908

        }

        if (!(((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER) || (EventUnitDamageSourcePlayer() == gv_pLAYER_02_DOMINION)))) {
            return false;
        }

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2mapMapScript.galaxy:4973

        }

        if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
            return false;
        }

mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2mapMapScript.galaxy:5733

        }

        if (!((EventUnitDamageSourcePlayer() == gv_pLAYER_01_USER))) {
            return false;
        }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:18135

    // Conditions
    if (testConds) {
        if (!((TechTreeUpgradeCount(EventUnitDamageSourcePlayer(), "FenixImmortalDetonationShot", c_techCountCompleteOnly) == 1))) {
            return false;
        }

mods/starcoop/starcoop.sc2modbase.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.sc2modbase.sc2data/LibCOMI.galaxy:26096

    // Conditions
    if (testConds) {
        if (!((CatalogFieldValueGet(c_gameCatalogEffect, EventUnitDamageEffect(), "Death", EventUnitDamageSourcePlayer()) == "Fire"))) {
            return false;
        }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:6515

        }

        if (!((libNtve_gf_PlayerIsEnemy(EventUnitDamageSourcePlayer(), EventPlayer(), libNtve_ge_PlayerRelation_Enemy) == true))) {
            return false;
        }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:6552

    // Conditions
    if (testConds) {
        if (!((libNtve_gf_PlayerIsEnemy(EventUnitDamageSourcePlayer(), EventPlayer(), libNtve_ge_PlayerRelation_Enemy) == true))) {
            return false;
        }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:6562

    }

    libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()] += EventUnitDamageAmount();
    PlayerScoreValueSetFromInt(EventUnitDamageSourcePlayer(), "ArtanisSoADamage", FixedToInt(libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()]));
    return true;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:6563


    libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()] += EventUnitDamageAmount();
    PlayerScoreValueSetFromInt(EventUnitDamageSourcePlayer(), "ArtanisSoADamage", FixedToInt(libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()]));
    return true;
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:6563


    libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()] += EventUnitDamageAmount();
    PlayerScoreValueSetFromInt(EventUnitDamageSourcePlayer(), "ArtanisSoADamage", FixedToInt(libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()]));
    return true;
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:6581

    // Conditions
    if (testConds) {
        if (!((libNtve_gf_PlayerIsEnemy(EventUnitDamageSourcePlayer(), EventPlayer(), libNtve_ge_PlayerRelation_Enemy) == true))) {
            return false;
        }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:6591

    }

    libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()] += EventUnitDamageAmount();
    PlayerScoreValueSetFromInt(EventUnitDamageSourcePlayer(), "ArtanisSoADamage", FixedToInt(libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()]));
    return true;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:6592


    libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()] += EventUnitDamageAmount();
    PlayerScoreValueSetFromInt(EventUnitDamageSourcePlayer(), "ArtanisSoADamage", FixedToInt(libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()]));
    return true;
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:6592


    libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()] += EventUnitDamageAmount();
    PlayerScoreValueSetFromInt(EventUnitDamageSourcePlayer(), "ArtanisSoADamage", FixedToInt(libCOOC_gv_cC_ScoreArtanisKaraxSoADmg[EventUnitDamageSourcePlayer()]));
    return true;
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:6636

    // Conditions
    if (testConds) {
        if (!((PlayerGroupHasPlayer(libCOOC_gf_HumanPlayers(), EventUnitDamageSourcePlayer()) == true))) {
            return false;
        }