Skip to content

H7EffectSpecialFaceOfFear

Class in MMH7Game · MMH7Game.H7EffectSpecialFaceOfFear · native

Object › H7EffectSpecialFaceOfFear

Implements: H7IEffectDelegate

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

Properties

NameTypeNotes
mAttackingStackH7CreatureStackprivate
mFleeingDistanceintprivate
mFleeingDistanceDiagonalintprivate
mIsSimulatedboolprivate
mShowDebugPositionboolprivate
mTargetsarray<H7IEffectTargetable>private

Functions

NameDeclaration
CanReachCellprivate final function bool CanReachCell(H7CreatureStack Stack, H7CombatMapCell cell)
Executefunction Execute(H7Effect Effect, H7EventContainerStruct container, optional bool isSimulated = false)
GetAttackerPositionprivate final function array<H7CombatMapCell> GetAttackerPosition()
GetClosestCellsprivate final function GetClosestCells(H7CreatureStack attacker, H7CreatureStack defender, out H7CombatMapCell attackerCell, out H7CombatMapCell defenderCell)
GetDefaultStringfunction string GetDefaultString()
GetFleeingCellsprivate final function array<H7CombatMapCell> GetFleeingCells(H7CreatureStack Stack)
GetMirroredCellfunction H7CombatMapCell GetMirroredCell(H7CombatMapCell cellToMirror, H7CombatMapCell mirrorCenter, H7CreatureStack Stack)
GetTooltipReplacementfunction string GetTooltipReplacement()
HandleFearEffectprivate final function HandleFearEffect()
Initializefunction Initialize(H7Effect Effect)
MoveToCellsprivate final function MoveToCells(H7CreatureStack Stack, array<H7CombatMapCell> Cells)
ShowCellHighlightprivate final function ShowCellHighlight(array<H7CombatMapCell> Cells)

Default values

mFleeingDistance=2
mFleeingDistanceDiagonal=1

Inherited

FromMembers
Object13 properties, 308 functions