Skip to content

H7EffectSpecialPushback

Class in MMH7Game · MMH7Game.H7EffectSpecialPushback · native

Object › H7EffectSpecialPushback

Implements: H7IEffectDelegate

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

Properties

NameTypeNotes
mCombatMapGridControllerH7CombatMapGridControllerprivate
mGhostOpacityfloatprivate
mIsAiCasterboolprivate
mIsSimulatedboolprivate
mPushDirectionH7StructsAndEnumsNative.EDirectionprivate
mPushDistanceintprivate
mPushDistanceDiagonalintprivate
mTargetsarray<H7IEffectTargetable>private

Functions

NameDeclaration
CanReachCellprivate static final function bool CanReachCell(H7CreatureStack Stack, H7CombatMapCell cell)
DestroyPreviousGhostsfunction DestroyPreviousGhosts()
Executefunction Execute(H7Effect Effect, H7EventContainerStruct container, optional bool isSimulated = false)
GetDefaultStringfunction string GetDefaultString()
GetPushTargetCellstatic function H7CombatMapCell GetPushTargetCell(H7CombatMapCell directionCell, H7CreatureStack Stack, int distDiagonal, int distOrthogonal)
GetTooltipReplacementfunction string GetTooltipReplacement()
GetValuefunction string GetValue(int nr)
HandlePushBackEffectprivate final function HandlePushBackEffect()
Initializefunction Initialize(H7Effect Effect)
RepositionCreatureStackprivate final function RepositionCreatureStack(H7CreatureStack Stack, H7CombatMapCell cell)
ShowCellPreviewprivate final function ShowCellPreview(H7CombatMapCell cell)

Default values

mPushDistance=2
mPushDistanceDiagonal=1
mGhostOpacity=0.3000000

Inherited

FromMembers
Object13 properties, 308 functions