Skip to content

H7EffectContainer

Class in MMH7Game · MMH7Game.H7EffectContainer · native, perobjectconfig

Object › H7EffectContainer

Implements: H7IEventManagingObject, H7IAliasable

Subclasses: H7BaseAbility, H7BaseBuff, H7HeroItem, H7ItemSet, H7Skill, H7Week

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

Constants

NameValue
SCROLL_MAGIC_POWER30

Properties

NameTypeNotes
mAbilitySchoolbyteno declaration: type is approximate
mAudioVisualEffectsarrayno declaration: type is approximate
mCasterinterfaceno declaration: type is approximate
mCasterSnapShotObjectno declaration: type is approximate
mCommandEffectsarrayno declaration: type is approximate
mCommentstringprotected
mDamageEffectsarrayno declaration: type is approximate
mEventManagerObjectno declaration: type is approximate
mEventuallySuppressesRetaliationboolno declaration: type is approximate
mEventuallySuppressesRetaliationCheckedboolno declaration: type is approximate
mFXLoadedboolno declaration: type is approximate
mIconDynLoadObjectno declaration: type is approximate
mInstanciatedEffectsarrayno declaration: type is approximate
mInstanciatedEffectsByTooltipboolno declaration: type is approximate
mInstanciatedEffectsDoneboolno declaration: type is approximate
mIsDisplayedboolno declaration: type is approximate
mNamestringconst, localized, protected
mNameInststringtransient, protected
mNeedsPrivilegboolno declaration: type is approximate
mOwnerinterfaceno declaration: type is approximate
mPrivilegIDintno declaration: type is approximate
mProducesResourcesboolno declaration: type is approximate
mRankOverridebyteno declaration: type is approximate
mResistanceEffectsarrayno declaration: type is approximate
mSkillTypebyteno declaration: type is approximate
mSourceContainerObjectno declaration: type is approximate
mSpecialEffectsarrayno declaration: type is approximate
mSpellEffectsarrayno declaration: type is approximate
mStatModEffectsarrayno declaration: type is approximate
mTargetsarrayno declaration: type is approximate
mTargetVectorsarrayno declaration: type is approximate
mTooltipstringconst, localized, protected
mTooltipLocalizedstringprotected
mTooltipLogarrayno declaration: type is approximate
mTooltipMappingarrayno declaration: type is approximate

Functions

NameDeclaration
AddLogfunction AddLog(H7StructsAndEnumsNative.ELogType Type, float Value)
AddPlaceholdersToReplBufferfunction AddPlaceholdersToReplBuffer(string stringContainingPlaceholders, optional H7StructsAndEnumsNative.ESkillRank considerOnlyEffectsOfRank = 0, optional H7UnitSnapShot myCaster)
AddReplfunction AddRepl(string placeholder, string Value)
AddSpellEffectfunction AddSpellEffect(H7SpellEffect spellEffect)
ApplyHelperReplacementsfunction string ApplyHelperReplacements(string baseLocalizedString)
CanAffectAllynative function bool CanAffectAlly()
CanAffectDeadnative function bool CanAffectDead()
CanAffectEnemynative function bool CanAffectEnemy()
CanRemoveStasisnative function bool CanRemoveStasis()
ClearSpellEffectsfunction ClearSpellEffects()
DeleteAllInstanciatedEffectsfunction DeleteAllInstanciatedEffects()
DidInstanciateEffectsfunction bool DidInstanciateEffects()
DoOperationstatic function float DoOperation(H7StructsAndEnumsNative.EOperationType Op, float baseValue, float modificator)
FlushEffectFXnative function FlushEffectFX()
FullfillsSpecialSelectorConditionfunction bool FullfillsSpecialSelectorCondition(string selector, H7Effect Effect)
GetAllEffectsfunction array<H7Effect> GetAllEffects()
GetArchetypeEffectnative function H7SpellEffect GetArchetypeEffect(Class effectClass, H7StructsAndEnumsNative.ETrigger triggerType)
GetArchetypeIDfunction string GetArchetypeID()
GetBestDamageEffectfunction H7EffectDamage GetBestDamageEffect(H7ICaster caster, H7ICaster Owner)
GetBuffEffectfunction H7EffectWithSpells GetBuffEffect(optional H7ICaster caster = none, optional out int Number)
GetCasternative function H7ICaster GetCaster()
GetCasterOriginalfunction H7ICaster GetCasterOriginal()
GetClassNameBySelectorfunction name GetClassNameBySelector(string selector)
GetCorrespondingRankfunction H7StructsAndEnumsNative.ESkillRank GetCorrespondingRank()
GetDamageEffectfunction H7EffectDamage GetDamageEffect(H7ICaster caster, optional out int Number)
GetDamageRangefunction H7RangeValue GetDamageRange(H7SpellValue Damage, H7Unit castingUnit, optional H7StructsAndEnumsNative.ESkillRank forceRankValue)
GetDebugNamefunction string GetDebugName()
GetEffectBySelectorfunction H7Effect GetEffectBySelector(string selector, optional H7ICaster caster, optional out int Number, optional int Group = -1, optional H7StructsAndEnumsNative.ESkillRank considerOnlyEffectsOfRank = 0)
GetEffectDamagefunction H7DamageEffect GetEffectDamage()
GetEffectFunctionProvidernative function bool GetEffectFunctionProvider(H7IEffectDelegate effectDelegate, out H7IEffectDelegate Instance)
GetEffectOnRankfunction array<H7Effect> GetEffectOnRank(H7StructsAndEnumsNative.ESkillRank Rank)
GetEffectOnRankAsLinefunction string GetEffectOnRankAsLine(H7StructsAndEnumsNative.ESkillRank Rank)
GetEffectsnative function GetEffects(out array<H7Effect> Effects, H7ICaster caster)
GetEffectsLengthfunction int GetEffectsLength()
GetEffectsOfTypefunction array<H7Effect> GetEffectsOfType(name Typename)
GetEventManagernative function H7EventManager GetEventManager()
GetIconfunction Texture2D GetIcon()
GetIDnative function int GetID()
GetInitiatornative function H7ICaster GetInitiator()
GetLocaNameForStatstatic function string GetLocaNameForStat(H7StructsAndEnumsNative.EStat Stat, bool forHero)
GetModifiedStatsAndValuesfunction GetModifiedStatsAndValues(out array<H7StructsAndEnumsNative.EStat> modifiedStats, out array Values)
GetNameevent string GetName()
GetNameNativenative function string GetNameNative()
GetNumGroupsfunction int GetNumGroups(name effectClassName)
GetOwnernative function H7ICaster GetOwner()
GetPermanentStatModsnative function GetPermanentStatMods(out array<H7MeModifiesStat> outStats, H7IEffectTargetable Target)
GetPersistentResistanceEffectsnative function GetPersistentResistanceEffects(out array<H7EffectOnResistance> Effects, H7IEffectTargetable Target)
GetPlaceholdersstatic function array GetPlaceholders(string Str)
GetPlaceholdersNewstatic function array GetPlaceholdersNew(string Str)
GetProductionEffectSpecialsnative function GetProductionEffectSpecials(out array<H7EffectSpecialAddResources> produc)
GetRankOverridefunction H7StructsAndEnumsNative.ESkillRank GetRankOverride()
GetSchoolfunction H7StructsAndEnumsNative.EAbilitySchool GetSchool()
GetSchoolColorstatic function string GetSchoolColor(H7StructsAndEnumsNative.EAbilitySchool school)
GetSchoolDamageNamestatic function string GetSchoolDamageName(H7StructsAndEnumsNative.EAbilitySchool school)
GetSchoolFlashPathstatic function string GetSchoolFlashPath(H7StructsAndEnumsNative.EAbilitySchool school)
GetSchoolNamestatic function string GetSchoolName(H7StructsAndEnumsNative.EAbilitySchool school)
GetShieldEffectsnative function GetShieldEffects(out array<H7EffectSpecialShieldEffect> Effects)
GetSkillTypefunction H7StructsAndEnumsNative.ESkillType GetSkillType()
GetSourceEffectfunction H7EffectContainer GetSourceEffect()
GetSpellEffectsfunction array<H7SpellEffect> GetSpellEffects()
GetStringForOperationstatic function string GetStringForOperation(H7StructsAndEnumsNative.EOperationType Op, float Value)
GetTargetnative function H7IEffectTargetable GetTarget()
GetTargetsnative function array<H7IEffectTargetable> GetTargets()
GetTargetVectorfunction Vector GetTargetVector()
GetTargetVectorsfunction array<Vector> GetTargetVectors()
GetTeleportEffectRangenative function int GetTeleportEffectRange()
GetTimeEntityByEventfunction string GetTimeEntityByEvent(H7StructsAndEnumsNative.ETrigger Event)
GetTooltipfunction string GetTooltip(optional bool extendedVersion, optional string overwriteBaseString, optional H7StructsAndEnumsNative.ESkillRank considerOnlyEffectsOfRank = 0, optional bool resetRankOverride = true)
GetTooltipEffectListsfunction string GetTooltipEffectLists(optional bool allRanks = true)
GetTooltipLocalizedfunction string GetTooltipLocalized(H7ICaster Initiator)
GetTooltipModifierListfunction string GetTooltipModifierList()
HandleIncomeEffectsnative function bool HandleIncomeEffects(H7Player dasPlayer)
HasDamagingEffectSpecialfunction bool HasDamagingEffectSpecial()
HasInitiatorfunction bool HasInitiator()
HasNegativeEffectnative function bool HasNegativeEffect()
HasPositiveEffectfunction bool HasPositiveEffect(optional H7IEffectTargetable Target)
HasStasisEffectnative function bool HasStasisEffect()
HasStatModEffectsfunction bool HasStatModEffects()
HasStatModForfunction bool HasStatModFor(H7StructsAndEnumsNative.EStat Stat)
InstanciateEffectsFromStructDatanative function InstanciateEffectsFromStructData(optional bool registerEffects = true)
IsAbilityfunction bool IsAbility()
IsAllowedCharstatic function bool IsAllowedChar(string char)
IsArchetypefunction bool IsArchetype()
IsBufffunction bool IsBuff()
IsDisplayedfunction bool IsDisplayed()
IsEqualnative function bool IsEqual(H7EffectContainer container)
IsHeroItemnative function bool IsHeroItem()
IsLocaKeyfunction bool IsLocaKey(string Unknown)
IsMightfunction bool IsMight()
IsSkillnative function bool IsSkill()
LoadEffectFXnative function LoadEffectFX()
LocalizeNamefunction LocalizeName()
OverrideCasterfunction OverrideCaster(H7ICaster caster)
ProducesResourcesfunction bool ProducesResources()
ProvidesCovernative function bool ProvidesCover()
ResolveIconPlaceholderstatic function string ResolveIconPlaceholder(string selector)
ResolvePlaceholderfunction string ResolvePlaceholder(string placeholder, optional bool shouldReturn = false, optional H7StructsAndEnumsNative.ESkillRank considerOnlyEffectsOfRank = 0, optional H7UnitSnapShot myCaster)
SetCasternative function SetCaster(H7ICaster caster)
SetDisplayedfunction SetDisplayed(bool Display)
SetOwnerevent SetOwner(H7ICaster Owner)
SetProducesResourcesfunction SetProducesResources(bool boool)
SetRankOverridefunction SetRankOverride(H7StructsAndEnumsNative.ESkillRank Rank)
SetSourceEffectfunction SetSourceEffect(H7EffectContainer EffectContainer)
SetStatModEffectsfunction SetStatModEffects(array<H7StatEffect> Effects)
SetTargetnative function SetTarget(H7IEffectTargetable Target)
SetTargetsnative function SetTargets(array<H7IEffectTargetable> Targets)
SetTargetVectorfunction SetTargetVector(Vector vec)
SetTargetVectorsfunction SetTargetVectors(array<Vector> vecs)
SortTooltipMappingfunction SortTooltipMapping()
SplitPlaceholderfunction SplitPlaceholder(string placeholder, out string selector, out int Group, out string prop)
TargetIsImmuneToAllEffectsfunction bool TargetIsImmuneToAllEffects(H7IEffectTargetable Target)
TargetIsImmuneToAllExecutingEffectsnative function bool TargetIsImmuneToAllExecutingEffects(H7IEffectTargetable Target)
TargetIsImmuneToAllExecutingEffectsOnArchetypestatic native function bool TargetIsImmuneToAllExecutingEffectsOnArchetype(H7IEffectTargetable Target, H7ICaster Initiator, H7ICaster Owner, H7ICaster caster, H7EventContainerStruct eventContainer, bool targetCheckOnly, bool isStatEffect, bool isPersistentStatEffect, bool isTeleportSpell, int teleportSpellRange, H7EffectContainer EffectContainer, array<H7StructsAndEnumsNative.ESpellTag> tags, H7StructsAndEnumsNative.EAbilitySchool abilitySchool)
TooltipMappingComparefunction int TooltipMappingCompare(H7TooltipReplacementEntry A, H7TooltipReplacementEntry B)

Default values

mIsDisplayed=true
mRankOverride=ESkillRank.None
mPrivilegID=-1

Inherited

FromMembers
Object13 properties, 308 functions