Skip to content

H7HeroProgress

Class in MMH7Game · MMH7Game.H7HeroProgress · native

Object › H7HeroProgress

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

Properties

NameTypeNotes
mMaxDamageIncint[30]
mMaxDamageInclvl30int
mMinDamageIncint[30]
mMinDamageInclvl30int
mStatIncreaseint
mXpTableint[30]

Functions

NameDeclaration
GetLevelnative function int GetLevel(int XP)
GetMaximumDamageAddfunction int GetMaximumDamageAdd(int Level)
GetMinimumDamageAddfunction int GetMinimumDamageAdd(int Level)
GetTotalXPByLvlnative function int GetTotalXPByLvl(int Level)
GetXPDeltafunction int GetXPDelta(int Level)
GetXPRangefunction int GetXPRange(int Level, out int lo, out int hi)
LevelUpHeroStatsevent LevelUpHeroStats(H7EditorHero Hero, int levelDelta)

Default values

mStatIncrease=1

Inherited

FromMembers
Object13 properties, 308 functions