Skip to content

H7EffectSpecialInstantReinforcements

Class in MMH7Game · MMH7Game.H7EffectSpecialInstantReinforcements · native

Object › H7EffectSpecialInstantReinforcements

Implements: H7IEffectDelegate

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

Properties

NameTypeNotes
mAdventureControllerH7AdventureControllerprotected
mCasterFXH7FXObjectconst, protected
mEffectH7Effectprotected
mSourceAbilityH7HeroAbilityprotected
mTeleportCostsarray<H7TeleportCosts>

Functions

NameDeclaration
CanCastfunction bool CanCast(out string blockReason, H7ICaster caster)
Executefunction Execute(H7Effect Effect, H7EventContainerStruct container, optional bool isSimulated = false)
GetDefaultStringfunction string GetDefaultString()
GetDistanceprotected function int GetDistance(H7Town Town, H7AdventureHero Hero)
GetNearestTownprotected function H7Town GetNearestTown(H7AdventureHero Hero, array<H7Town> Towns)
GetTeleportCostsForCasterfunction H7TeleportCosts GetTeleportCostsForCaster(H7AdventureHero caster)
GetTooltipReplacementfunction string GetTooltipReplacement()
HasTownPortalprotected function bool HasTownPortal(H7Town Town)
Initializefunction Initialize(H7Effect Effect)
IsOnSameGridprotected function bool IsOnSameGrid(H7Town Town, H7AdventureHero Hero)
ManaCostDelegatefunction ManaCostDelegate(bool creatureWasTransferred)

Inherited

FromMembers
Object13 properties, 308 functions