# Effect History Entry Amount

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

# Arguments

Returns — fixed

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

Category: Effect History / Entries

# Examples

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

        lv_dataAbility = EffectHistoryGetAbil(lv_history, lv_itEntry);
        lv_dataBehavior = EffectHistoryGetSourceBehavior(lv_history, lv_itEntry);
        lv_dataAmount = EffectHistoryGetAmountFixed(lv_history, lv_itEntry, c_effectAmountDamaged, false);
        lv_dataAmountAttempted = EffectHistoryGetAmountFixed(lv_history, lv_itEntry, c_effectAmountDamageAttempted, false);
        lv_dataAmountShielded = EffectHistoryGetAmountFixed(lv_history, lv_itEntry, c_effectAmountBehaviorShield, false);

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

        lv_dataBehavior = EffectHistoryGetSourceBehavior(lv_history, lv_itEntry);
        lv_dataAmount = EffectHistoryGetAmountFixed(lv_history, lv_itEntry, c_effectAmountDamaged, false);
        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);

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

        lv_dataAmount = EffectHistoryGetAmountFixed(lv_history, lv_itEntry, c_effectAmountDamaged, false);
        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);