# Effect History Entry Amount As Integer

Grammar — Amount amount of effect history history entry index. total|Do/Do Not use total.
FlagsNative | Function

# Arguments

Returns — int

native int EffectHistoryGetAmountInt(
	effecthistory inHistory,
	int inIndex,
	int inAmount,
	bool inTotal,
);

Category: Effect History / Entries

# Examples

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

            }

            lv_effectAmountShielded = EffectHistoryGetAmountInt(lv_effectHistory, lv_itEffectHistoryEntry, c_effectAmountBehaviorShield, false);
            lv_effectAmount = EffectHistoryGetAmountInt(lv_effectHistory, lv_itEffectHistoryEntry, lv_effectTypePreset, false);
            lv_effectAmountAttempted = EffectHistoryGetAmountInt(lv_effectHistory, lv_itEffectHistoryEntry, lv_effectTypePresetAttempted, false);

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


            lv_effectAmountShielded = EffectHistoryGetAmountInt(lv_effectHistory, lv_itEffectHistoryEntry, c_effectAmountBehaviorShield, false);
            lv_effectAmount = EffectHistoryGetAmountInt(lv_effectHistory, lv_itEffectHistoryEntry, lv_effectTypePreset, false);
            lv_effectAmountAttempted = EffectHistoryGetAmountInt(lv_effectHistory, lv_itEffectHistoryEntry, lv_effectTypePresetAttempted, false);
        }

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

            lv_effectAmountShielded = EffectHistoryGetAmountInt(lv_effectHistory, lv_itEffectHistoryEntry, c_effectAmountBehaviorShield, false);
            lv_effectAmount = EffectHistoryGetAmountInt(lv_effectHistory, lv_itEffectHistoryEntry, lv_effectTypePreset, false);
            lv_effectAmountAttempted = EffectHistoryGetAmountInt(lv_effectHistory, lv_itEffectHistoryEntry, lv_effectTypePresetAttempted, false);
        }
        if ((lv_effectAmount <= 0)) {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:9358

        lv_dataAmountAttempted = EffectHistoryGetAmountFixed(lv_history, lv_itEntry, c_effectAmountDamageAttempted, false);
        lv_dataAmountShielded = EffectHistoryGetAmountFixed(lv_history, lv_itEntry, c_effectAmountBehaviorShield, false);
        lv_dataAmountInt = EffectHistoryGetAmountInt(lv_history, lv_itEntry, c_effectAmountDamaged, true);
        lv_dataEffectRoot = EffectHistoryGetEffect(lv_history, lv_itEntry, c_effectHistoryEffectRoot);
        lv_dataEffectCurrent = EffectHistoryGetEffect(lv_history, lv_itEntry, c_effectHistoryEffectCurrent);