Skip to content

H7SeqAct_AddRandomHeroItem

Class in MMH7Game · MMH7Game.H7SeqAct_AddRandomHeroItem · native

Object › SequenceObject › SequenceOp › SequenceAction › H7SeqAct_ManipulateHero › H7SeqAct_AddRandomHeroItem

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

Properties

NameTypeNotes
mMajorAllowedboolprotected
mMinorAllowedboolprotected
mRelicAllowedboolprotected
mSpecificSetH7ItemSetprotected
mUseSpecificSetboolprotected

Functions

NameDeclaration
Activatedfunction Activated()
GetObjClassVersionstatic event int GetObjClassVersion()
GetRandomHeroItemFromPoolprotected native function H7HeroItem GetRandomHeroItemFromPool()
InitGlobalListprotected native function InitGlobalList()
ResetGlobalListprotected native function ResetGlobalList()

Default values

mMinorAllowed=true
mMajorAllowed=true
mRelicAllowed=true
ObjName="Add random Hero Artifact"

Inherited

FromMembers
H7SeqAct_ManipulateHeroProperties: mInteractingHeroObjects, mTargetArmy, mUseInteractingArmy
Functions: GetObjClassVersion, GetTargetArmy
SequenceAction3 properties, 0 functions
SequenceOp26 properties, 18 functions
SequenceObject17 properties, 6 functions
Object13 properties, 308 functions