Skip to content

H7EffectWithSpells

Class in MMH7Game · MMH7Game.H7EffectWithSpells · native

Object › H7Effect › H7EffectWithSpells

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

Properties

NameTypeNotes
mCheckedSuppressesRetaliationboolprotected
mContainerH7EffectContainerprotected
mDataH7SpellEffectprotected
mSuppressesRetaliationboolprotected

Functions

NameDeclaration
CheckSuppressesRetaliationfunction CheckSuppressesRetaliation()
CheckUpdateGUIfunction CheckUpdateGUI(array<H7IEffectTargetable> Targets)
Executeprotected event Execute(optional bool isSimulated = false)
GenerateCombatActionfunction H7CombatResult GenerateCombatAction(optional H7CombatResult baseCombatAction)
GetContainerfunction H7EffectContainer GetContainer()
GetDatafunction H7SpellEffect GetData()
InitSpecificevent InitSpecific(H7SpellEffect Data, H7EffectContainer Source, optional bool registerEffect = true)
ShowInTooltipevent bool ShowInTooltip()
SuppressesRetaliationfunction bool SuppressesRetaliation()

Default values

mData=(mSpellStruct=(mSpellOperation=ESpellOperation.ADD_BUFF,mDefaultAbility=EDefaultAbilities.ED_CUSTOM,mSpell=none,mAssociateWithSkill=false),mEffectID="",mGroup=0,mRank=ESkillRank.SR_ALL_RANKS,mTags=none,mTarget=EEffectTarget.TARGET_DEFAULT,mTargetLimit=0,mTrigger=(mTriggerType=ETrigger.PERSI...

Inherited

FromMembers
H7EffectProperties: mCaster, mConditions, mEffectTags, mEffectTarget, mEventContainer, mFX, mGroup, mIsBeingExecuted, mRank, mRemovedDuringExecution, mSourceOfEffect, mTarget, mTargetLimit, mTargetOverwrite, mTempTargets, mTooltipBuffInstance, mTrigger
Functions: AddTag, AttackConditionCheck, AttackConditionCheckOnArchetype, CasterConditionCheck, CasterConditionCheckOnArchetype, CheckMagicSynergy, ClearCachedTargets, ClearTooltipContainerInstance, CompareRank, ConditionCheck, ConditionCheckOnArchetype, DebugFunction, DoOperationBool, EventListener, Execute, ExecuteSave, GenerateCombatAction, GetAbsValueAsString, GetAlignmentType, GetCachedTargets, GetChance, GetConditons, GetDefaultString, GetEventContainer, GetFX, GetGroup, GetHumanReadableMultiplier, GetHumanReadableMultiplierAbs, GetHumanReadableMultiplierAbsInt, GetHumanReadablePercent, GetHumanReadablePercentAbs, GetHumanReadablePercentAbsInt, GetHumanReadablePercentInt, GetHumanReadableStatMod, GetIconString, GetLocaNameForSpellOperation, GetLocaNameForTrigger, GetMaxCap, GetMaxString, GetMinCap, GetMinString, GetName, GetOperation, GetOperationString, GetProperty, GetRegistrator, GetRequiredRank, GetSource, GetTags, GetTagsPlusBaseTags, GetTargetEnum, GetTargets, GetTargetsByEffectTarget, GetTooltipLine, GetTooltipReplacement, GetTrigger, GetValidTargets, GetValue, GetValueAsString, HasTag, InitEffect, InstanciateFX, IsPreventedByImmunityOf, IsPreventedByImmunityOfOnArchetype, LocalizeFailSafe, RankCheck, RegisterTrigger, SetAreaAroundXTargets, SetEventContainer, SetFirstRows, SetUnitTargetOverwrite, ShowInTooltip, TargetConditionCheck, TargetConditionCheckOnArchetype, TriggerEffect, UnpackContainer, UnregisterTrigger
Object13 properties, 308 functions