# Triggering Heal Given

Grammar — Triggering heal given
FlagsNative | Function

Returns the triggering heal amount.

Returns — fixed

native fixed EventUnitHealAmount();

# Supported triggers

Category: Unit / Combat

# Examples

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/paiur03.sc2map/MapScript.galaxy:3714

    }

    gv_shieldsRechargedByShieldBatteries += EventUnitHealAmount();
    return true;
}

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/ppurifier01.sc2map/MapScript.galaxy:4273

    }

    gv_shieldsRestoredBySentries += EventUnitHealAmount();
    return true;
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur03.sc2mapMapScript.galaxy:3714

    }

    gv_shieldsRechargedByShieldBatteries += EventUnitHealAmount();
    return true;
}

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier01.sc2mapMapScript.galaxy:4273

    }

    gv_shieldsRestoredBySentries += EventUnitHealAmount();
    return true;
}

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

    if ((lv_iD != null)) {
        lv_previousValue = DataTableGetInt(true, lv_iD);
        DataTableSetInt(true, lv_iD, (lv_previousValue+FixedToInt(EventUnitHealAmount())));
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:12423

    }

    lv_healthRegenPercentage = (EventUnitHealAmount() / UnitGetPropertyFixed(lv_leoricUnit, c_unitPropLifeMax, c_unitPropCurrent));
    lv_reducedTotalRespawnTime = (lv_currentTotalRespawnTime * (1.0 - lv_healthRegenPercentage));
    lv_timeReduced = (lv_reducedTotalRespawnTime - lv_currentTotalRespawnTime);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:17706

    }

    lv_healAmount = EventUnitHealAmount();
    lv_healAmountPrevented = (lv_healAmount * 3.0);
    libGDHL_gv_heroNecromancerMortalWoundsNumbers[lv_ownerOfUnit] += lv_healAmountPrevented;

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:24814

    lv_unit = EventUnitHealLaunchUnit();
    lv_player = UnitGetOwner(lv_unit);
    lv_healAmount = EventUnitHealAmount();
    lv_healAmountMod = (lv_healAmount * libGDHL_gv_bALHeroUtherBlessedChampionHeal);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:24859

    lv_unit = EventUnitHealLaunchUnit();
    lv_player = UnitGetOwner(lv_unit);
    lv_healAmount = EventUnitHealAmount();
    lv_healAmountMod = (lv_healAmount * libGDHL_gv_bALHeroUtherBlessedChampionHeal);

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

    }

    libGame_gf_AddtoAwardValue(lv_healingPlayer, EventUnitHealAmount(), libGame_ge_SecondaryAwards_CombatMedic);
    return true;
}

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

        }

        if (!((((UnitGetPropertyFixed(lv_healedUnit, c_unitPropLife, c_unitPropCurrent) - EventUnitHealAmount()) / UnitGetPropertyFixed(lv_healedUnit, c_unitPropLifeMax, c_unitPropCurrent)) < 0.1))) {
            return false;
        }

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

    }

    lv_healingDone = EventUnitHealAmount();
    lv_healingEffect = EventUnitHealEffect();
    lv_healingEffectName = (lv_healingEffect);

mods/heromods/alexstrasza.stormmodbase.stormdata/LibHALE.galaxy:293

    lv_healingPlayer = EventUnitHealLaunchPlayer();
    lv_targetUnit = EventUnit();
    lv_healAmount = EventUnitHealAmount();
    lv_shieldAmountFactor = CatalogFieldValueGetAsFixed(c_gameCatalogEffect, "AlexstraszaOverprotectiveAbundanceShieldFractionScaleDummy", "VitalArray[" + IntToString(1) + "].ChangeFraction", lv_healingPlayer);
    lv_shieldAmount = (lv_healAmount * lv_shieldAmountFactor);

mods/heromods/fenix.stormmodbase.stormdata/LibHFEN.galaxy:105

    lv_fenixPlayer = UnitGetOwner(EventUnit());
    lv_fenixUnit = libGame_gv_players[lv_fenixPlayer].lv_heroUnit;
    lv_healingReceived = EventUnitHealAmount();

    // Conditions

mods/heromods/zarya.stormmodbase.stormdata/LibHZAR.galaxy:921

    }

    lv_localTriggeringHealAmount = EventUnitHealAmount();
    if ((lv_localTriggeringHealAmount >= 1)) {
        FloatingCombatElementCreateNumberTextAtUnit(PlayerGroupSingle(UnitGetOwner(EventUnit())), "Zarya/ZaryaEnergyReceived", "", EventUnit(), FixedToInt(EventUnitHealAmount()), StringExternal("Param/Value/lib_HZAR_D91F88FC"), libNtve_gv_FloatingCombatTextAutoRandomSeed);

mods/heromods/zarya.stormmodbase.stormdata/LibHZAR.galaxy:923

    lv_localTriggeringHealAmount = EventUnitHealAmount();
    if ((lv_localTriggeringHealAmount >= 1)) {
        FloatingCombatElementCreateNumberTextAtUnit(PlayerGroupSingle(UnitGetOwner(EventUnit())), "Zarya/ZaryaEnergyReceived", "", EventUnit(), FixedToInt(EventUnitHealAmount()), StringExternal("Param/Value/lib_HZAR_D91F88FC"), libNtve_gv_FloatingCombatTextAutoRandomSeed);
    }

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

    }

    AchievementTermQuantityAdd(lv_healingPlayer, "CommanderTychusHeal", CeilingI(EventUnitHealAmount()));
    return true;
}

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

    }

    libCOOC_gv_cC_ScoreRaynorHeal[EventPlayer()] += EventUnitHealAmount();
    PlayerScoreValueSetFromInt(EventPlayer(), "RaynorMedicHealing", FixedToInt(libCOOC_gv_cC_ScoreRaynorHeal[EventPlayer()]));
    return true;

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

    }

    libCOOC_gv_cC_ScoreSwannHeal[EventPlayer()] += EventUnitHealAmount();
    PlayerScoreValueSetFromInt(EventPlayer(), "SwannMechHealing", FixedToInt(libCOOC_gv_cC_ScoreSwannHeal[EventPlayer()]));
    return true;

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

    }

    libCOOC_gv_cC_ScoreAbathurHeal[EventPlayer()] += EventUnitHealAmount();
    PlayerScoreValueSetFromInt(EventPlayer(), "AbathurHealingReceived", FixedToInt(libCOOC_gv_cC_ScoreAbathurHeal[EventPlayer()]));
    return true;

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

    }

    libCOOC_gv_cC_ScoreAlarakHeal[EventPlayer()] += EventUnitHealAmount();
    PlayerScoreValueSetFromInt(EventPlayer(), "AlarakSelfHeals", FixedToInt(libCOOC_gv_cC_ScoreAlarakHeal[EventPlayer()]));
    return true;

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

    }

    libCOOC_gv_cC_ScoreAlarakHeal[EventPlayer()] += EventUnitHealAmount();
    PlayerScoreValueSetFromInt(EventPlayer(), "AlarakSelfHeals", FixedToInt(libCOOC_gv_cC_ScoreAlarakHeal[EventPlayer()]));
    return true;

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

    }

    libCOOC_gv_cC_ScoreNovaHeal[EventPlayer()] += EventUnitHealAmount();
    PlayerScoreValueSetFromInt(EventPlayer(), "NovaHealandAbsorb", FixedToInt(libCOOC_gv_cC_ScoreNovaHeal[EventPlayer()]));
    return true;

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

    }

    libCOOC_gv_cC_ScoreTychusMedicHeal[EventUnitHealLaunchPlayer()] += EventUnitHealAmount();
    PlayerScoreValueSetFromInt(EventUnitHealLaunchPlayer(), "TychusMedicHeal", FixedToInt(libCOOC_gv_cC_ScoreTychusMedicHeal[EventUnitHealLaunchPlayer()]));
    return true;

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

    }

    libCOOC_gv_cC_ScoreZeratulShieldRestore[EventUnitHealLaunchPlayer()] += EventUnitHealAmount();
    PlayerScoreValueSetFromInt(EventUnitHealLaunchPlayer(), "ZeratulShieldRestore", FixedToInt(libCOOC_gv_cC_ScoreZeratulShieldRestore[EventUnitHealLaunchPlayer()]));
    return true;