# Triggering Effect Amount (Real)

FlagsNative | Function

# Arguments

  • int [ preset::EffectAmount ] — Amount Type
  • bool — Total

Returns — fixed

native fixed EventPlayerEffectUsedAmountFixed(
	int inAmount,
	bool total,
);

# Supported triggers

Category: Environment / Effects

# Examples

# mods/heroesdata.stormmod

GameDataHelperLib.galaxy

// L11562
EventPlayerEffectUsedAmountFixed(c_effectAmountHealed, false)
// L18695
EventPlayerEffectUsedAmountFixed(c_effectAmountHealed, true)

# mods/heroesdata.stormmod

SoundLib.galaxy

// L1474
EventPlayerEffectUsedAmountFixed(c_effectAmountHealed, false)

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L18500
EventPlayerEffectUsedAmountFixed(c_effectAmountShieldsChanged, true)
// L18501
EventPlayerEffectUsedAmountFixed(c_effectAmountLifeChanged, false)