H7Effect¶
Class in MMH7Game · MMH7Game.H7Effect · native
Object › H7Effect
Subclasses: H7EffectAudioVisual, H7EffectCharges, H7EffectCommand, H7EffectDamage, H7EffectDestroyAura, H7EffectDuration, H7EffectDurationModifier, H7EffectInitAura, H7EffectOnResistance, H7EffectOnStats, H7EffectSpecial, H7EffectWithSpells
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mCaster | H7Unit | protected |
mConditions | H7ConditionStruct | protected |
mEffectTags | array<H7StructsAndEnumsNative.ESpellTag> | protected |
mEffectTarget | H7StructsAndEnumsNative.EEffectTarget | protected |
mEventContainer | H7EventContainerStruct | protected |
mFX | H7FXObject | protected |
mGroup | int | protected |
mIsBeingExecuted | bool | protected |
mRank | H7StructsAndEnumsNative.ESkillRank | protected |
mRemovedDuringExecution | bool | protected |
mSourceOfEffect | H7EffectContainer | protected |
mTarget | H7IEffectTargetable | protected |
mTargetLimit | int | protected |
mTargetOverwrite | H7IEffectTargetable | protected |
mTempTargets | array<H7IEffectTargetable> | protected |
mTooltipBuffInstance | H7EffectContainer | protected |
mTrigger | H7TriggerStruct | protected |
Functions¶
| Name | Declaration |
|---|---|
AddTag | function AddTag(H7StructsAndEnumsNative.ESpellTag Tag) |
AttackConditionCheck | native function bool AttackConditionCheck() |
AttackConditionCheckOnArchetype | static native function bool AttackConditionCheckOnArchetype(H7ConditionStructExtendAttack condition, H7EventContainerStruct eventContainer, H7ICaster Initiator, H7ICaster Owner, H7ICaster caster, bool isPersistentStatEffect) |
CasterConditionCheck | native function bool CasterConditionCheck(H7ICaster Initiator) |
CasterConditionCheckOnArchetype | static native function bool CasterConditionCheckOnArchetype(H7CasterConditionStruct condition, H7ICaster Initiator, H7ICaster itemOwner, H7ICaster buffOwner) |
CheckMagicSynergy | native function bool CheckMagicSynergy(H7ICaster attacker, H7IEffectTargetable Target) |
ClearCachedTargets | function ClearCachedTargets() |
ClearTooltipContainerInstance | function ClearTooltipContainerInstance() |
CompareRank | native function bool CompareRank(H7StructsAndEnumsNative.ESkillRank myRank, optional H7StructsAndEnumsNative.ESkillType skillType = 0) |
ConditionCheck | native function bool ConditionCheck(H7IEffectTargetable Target, H7ICaster Initiator, bool targetCheckOnly) |
ConditionCheckOnArchetype | static native function bool ConditionCheckOnArchetype(H7ConditionStruct conditions, H7IEffectTargetable Target, H7ICaster Initiator, H7ICaster Owner, H7ICaster caster, H7EventContainerStruct eventContainer, bool targetCheckOnly, bool isStatEffect, bool isPersistentStatEffect, bool isTeleportSpell, int teleportSpellRange) |
DebugFunction | native function DebugFunction(bool isSimulated) |
DoOperationBool | static native function bool DoOperationBool(H7StructsAndEnumsNative.EOperationBool Op, int ValueA, int ValueB) |
EventListener | native function EventListener(Object Sender, bool isSimulated, H7EventContainerStruct container) |
Execute | protected event Execute(optional bool isSimulated = false) |
ExecuteSave | native function ExecuteSave(optional bool isSimulated = false) |
GenerateCombatAction | function H7CombatResult GenerateCombatAction(optional H7CombatResult baseCombatAction) |
GetAbsValueAsString | function string GetAbsValueAsString() |
GetAlignmentType | static native function H7StructsAndEnumsNative.EAlignmentType GetAlignmentType(H7ICaster caster, H7IEffectTargetable Target) |
GetCachedTargets | function array<H7IEffectTargetable> GetCachedTargets() |
GetChance | native function float GetChance() |
GetConditons | function H7ConditionStruct GetConditons() |
GetDefaultString | function string GetDefaultString() |
GetEventContainer | function H7EventContainerStruct GetEventContainer() |
GetFX | function H7FXObject GetFX() |
GetGroup | function int GetGroup() |
GetHumanReadableMultiplier | static function string GetHumanReadableMultiplier(float Multiplier) |
GetHumanReadableMultiplierAbs | static function string GetHumanReadableMultiplierAbs(float Multiplier) |
GetHumanReadableMultiplierAbsInt | static function string GetHumanReadableMultiplierAbsInt(float Multiplier) |
GetHumanReadablePercent | static function string GetHumanReadablePercent(float Percent) |
GetHumanReadablePercentAbs | static function string GetHumanReadablePercentAbs(float Percent) |
GetHumanReadablePercentAbsInt | static function string GetHumanReadablePercentAbsInt(float Percent) |
GetHumanReadablePercentInt | static function string GetHumanReadablePercentInt(float Percent) |
GetHumanReadableStatMod | static function string GetHumanReadableStatMod(H7MeModifiesStat StatMod) |
GetIconString | function string GetIconString() |
GetLocaNameForSpellOperation | function string GetLocaNameForSpellOperation(H7StructsAndEnumsNative.ESpellOperation Op) |
GetLocaNameForTrigger | function string GetLocaNameForTrigger(H7StructsAndEnumsNative.ETrigger h7trigger) |
GetMaxCap | function string GetMaxCap() |
GetMaxString | function string GetMaxString() |
GetMinCap | function string GetMinCap() |
GetMinString | function string GetMinString() |
GetName | function string GetName() |
GetOperation | function string GetOperation() |
GetOperationString | static function string GetOperationString(H7StructsAndEnumsNative.EOperationType Op, float Value) |
GetProperty | function string GetProperty(string prop, optional H7StructsAndEnumsNative.ESkillRank considerOnlyEffectsOfRank = 0, optional H7UnitSnapShot myCaster) |
GetRegistrator | native function H7IEventManagingObject GetRegistrator() |
GetRequiredRank | function H7StructsAndEnumsNative.ESkillRank GetRequiredRank() |
GetSource | function H7EffectContainer GetSource() |
GetTags | function array<H7StructsAndEnumsNative.ESpellTag> GetTags() |
GetTagsPlusBaseTags | native function GetTagsPlusBaseTags(out array<H7StructsAndEnumsNative.ESpellTag> tags) |
GetTargetEnum | function H7StructsAndEnumsNative.EEffectTarget GetTargetEnum() |
GetTargets | native function GetTargets(out array<H7IEffectTargetable> Targets, optional bool ignoreImmunity = true) |
GetTargetsByEffectTarget | native function GetTargetsByEffectTarget(out array<H7IEffectTargetable> Targets, optional H7StructsAndEnumsNative.EEffectTarget effectTarget = mEffectTarget) |
GetTooltipLine | function string GetTooltipLine(optional bool extendedVersion = false, optional H7IEffectTargetable actualTarget, optional bool showRank = false, optional bool showCause = false) |
GetTooltipReplacement | function string GetTooltipReplacement(optional bool resolveBuff = false) |
GetTrigger | function H7TriggerStruct GetTrigger() |
GetValidTargets | native function GetValidTargets(out array<H7IEffectTargetable> Targets, out array<H7IEffectTargetable> validTargets, optional bool ignoreImmunity = false) |
GetValue | function float GetValue() |
GetValueAsString | function string GetValueAsString() |
HasTag | native function bool HasTag(H7StructsAndEnumsNative.ESpellTag SearchTag) |
InitEffect | function InitEffect(H7EffectProperties Properties, H7EffectContainer Source, bool registerEffect) |
InstanciateFX | function InstanciateFX() |
IsPreventedByImmunityOf | native function bool IsPreventedByImmunityOf(H7IEffectTargetable Target) |
IsPreventedByImmunityOfOnArchetype | static native function bool IsPreventedByImmunityOfOnArchetype(H7IEffectTargetable Target, H7SpellEffect Data, array<H7StructsAndEnumsNative.ESpellTag> tags, H7StructsAndEnumsNative.EAbilitySchool abilitySchool, bool isSpellEffect) |
LocalizeFailSafe | function string LocalizeFailSafe(string locaKey) |
RankCheck | native function bool RankCheck(H7ICaster Unit) |
RegisterTrigger | native function RegisterTrigger() |
SetAreaAroundXTargets | protected native function SetAreaAroundXTargets(out array<H7IEffectTargetable> Targets, H7StructsAndEnumsNative.EEffectTarget effectTarget) |
SetEventContainer | function SetEventContainer(H7EventContainerStruct container) |
SetFirstRows | protected native function SetFirstRows(out array<H7IEffectTargetable> Targets, H7StructsAndEnumsNative.EEffectTarget effectTarget) |
SetUnitTargetOverwrite | function SetUnitTargetOverwrite(H7IEffectTargetable Target) |
ShowInTooltip | event bool ShowInTooltip() |
TargetConditionCheck | native function bool TargetConditionCheck(H7IEffectTargetable Target, H7ConditionStructExtendedTarget condition, H7ICaster Initiator, H7ICaster caster) |
TargetConditionCheckOnArchetype | static native function bool TargetConditionCheckOnArchetype(H7ConditionStructExtendedTarget condition, H7IEffectTargetable Target, H7ICaster Initiator, H7ICaster caster, H7ICaster Owner, bool isPersistentStatEffect) |
TriggerEffect | native function TriggerEffect(bool isSimulated) |
UnpackContainer | function UnpackContainer() |
UnregisterTrigger | native function UnregisterTrigger() |
Default values¶
mTrigger=(mTriggerType=ETrigger.PERSISTENT,mChance=100,mUseLuckRoll=false)
mEventContainer=(Targetable=none,TargetableTargets=none,ActionTag=none,ActionSchool=EAbilitySchool.MIGHT,EffectContainer=none,Action=ECommandTag.None,Path=none,Result=none,Amount=1)
Inherited¶
| From | Members |
|---|---|
| Object | 13 properties, 308 functions |