Skip to content

H7IEffectTargetable

Class in MMH7Game · MMH7Game.H7IEffectTargetable · abstract, native

Interface › H7IEventManagingObject › H7IEffectTargetable

Using it from Lua
h7.find_all("H7IEffectTargetable")            -- live instances
h7.find_class("MMH7Game.H7IEffectTargetable")   -- the class
h7.hook("MMH7Game.H7IEffectTargetable.ApplyDamage", fn)

Functions

NameDeclaration
ApplyDamagesimulated function ApplyDamage(H7CombatResult Result, int resultIdx, bool isForecast, optional bool isRetaliation = false, optional bool raiseEvent = true)
DataChangedfunction DataChanged(optional string cause)
GetAbilityManagernative function H7AbilityManager GetAbilityManager()
GetBuffManagernative function H7BuffManager GetBuffManager()
GetEffectManagerfunction H7EffectManager GetEffectManager()
GetEntityTypenative function H7StructsAndEnumsNative.EUnitType GetEntityType()
GetEventManagernative function H7EventManager GetEventManager()
GetGridPositionfunction IntPoint GetGridPosition()
GetHitPointsfunction int GetHitPoints()
GetNamefunction string GetName()
GetPlayernative function H7Player GetPlayer()
GetResistanceModifierFornative function float GetResistanceModifierFor(H7StructsAndEnumsNative.EAbilitySchool school, array<H7StructsAndEnumsNative.ESpellTag> tags, optional bool checkOnlyBuffs = false, optional bool forcedResistanceOnly = false)
GetStackSizefunction int GetStackSize()
TriggerEventsfunction TriggerEvents(H7StructsAndEnumsNative.ETrigger triggerEvent, bool forecast, optional H7EventContainerStruct container)

Inherited

FromMembers
H7IEventManagingObjectFunctions: GetEventManager, GetID, GetName
Interface0 properties, 0 functions