# Effect History Entry Ability

Grammar — Ability for effect history history entry index
FlagsNative | Function

Returns the ability that originated the effect that was logged in the Effect History at the specified Index. If the effect came from a weapon rather than an ability, this will return No Game Link.

# Arguments

  • effecthistory — History
  • int — Index

Returns — string [ gamelink::Abil ]

native string EffectHistoryGetAbil(
	effecthistory inHistory,
	int inIndex,
);

Category: Effect History / Entries

# Examples

# mods/heroesdata.stormmod

GameLib.galaxy

// L1914
EffectHistoryGetAbil(lv_effectHistory, lv_itEffectHistoryEntry)
// L1959
EffectHistoryGetAbil(lv_effectHistory, lv_itEffectHistoryEntry)
// L1984
EffectHistoryGetAbil(lv_effectHistory, lv_itEffectHistoryEntry)
// L1992
EffectHistoryGetAbil(lv_effectHistory, lv_itEffectHistoryEntry)
// L1993
EffectHistoryGetAbil(lv_effectHistory, lv_itEffectHistoryEntry)

# mods/heroesdata.stormmod

UILib.galaxy

// L9353
EffectHistoryGetAbil(lv_history, lv_itEntry)