Skip to content

H7CombatConfiguration

Class in MMH7Game · MMH7Game.H7CombatConfiguration · native

Object › Actor › H7CombatConfiguration

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

Properties

NameTypeNotes
FULL_RANGE_MODIFIERfloat
HALF_RANGE_MODIFIERfloat
HIGHER_ATTACK_VALUE_SCALARfloat
LOWER_ATTACK_VALUE_SCALARfloat
mAiCombatMapConfigH7AiCombatMapConfigprotectedwrite
MAX_ATTACK_MODIFIER_CAPfloat
mBadMoraleWaitTimefloatprotectedwrite
mCoverDamageReductionfloatprotectedwrite
MELEE_PENALTY_MODIFIERfloat
mErraticCoverDamageReductionfloatprotectedwrite
MIN_ATTACK_MODIFIER_CAPfloat
mLuckMaxintprivate
mLuckMinintprivate
mMaxWaitTimeParticlesfloatprotected
mMetamagicMaxint
mMoraleBuffSameFactionUnitsintprivate
mMoraleDebuffAlliedFactionUnitsintprivate
mMoraleDebuffEnemyFactionUnitsintprivate
mMoraleDebuffOtherCaseintprivate
mMoraleMaxintprivate
mMoraleMinintprivate
mMoralOnAdditionalTurnsboolprotectedwrite
mRotationSelectThresholdfloat
mRotationSelectTimerfloat
mShowCoverSystemDebugboolprotected
mSiegeDefaultLocalGuardintprotected
mSiegeTownDataH7SiegeTownDataprotectedwrite
mUsePlatoonStacksboolprotected

Functions

NameDeclaration
GetDefaultLocGuardSlotsfunction int GetDefaultLocGuardSlots()
GetLuckMaxfunction int GetLuckMax()
GetLuckMinfunction int GetLuckMin()
GetMaxParticleWaitTimefunction float GetMaxParticleWaitTime()
GetMetamagicMaxfunction int GetMetamagicMax()
GetMoraleBuffSameFactionUnitsfunction int GetMoraleBuffSameFactionUnits()
GetMoraleDebuffAlliedFactionUnitsfunction int GetMoraleDebuffAlliedFactionUnits()
GetMoraleDebuffEnemyFactionUnitsfunction int GetMoraleDebuffEnemyFactionUnits()
GetMoraleDebuffOtherCasefunction int GetMoraleDebuffOtherCase()
GetMoraleMaxfunction int GetMoraleMax()
GetMoraleMinfunction int GetMoraleMin()
IsShowCoverSystemDebugfunction bool IsShowCoverSystemDebug()
IsUsingPlatoonStacksfunction bool IsUsingPlatoonStacks()
SetLuckMaxfunction SetLuckMax(int luckMax)
SetLuckMinfunction SetLuckMin(int luckMin)
SetMoraleBuffSameFactionUnitsfunction SetMoraleBuffSameFactionUnits(int moraleBuffSameFactionUnits)
SetMoraleDebuffAlliedFactionUnitsfunction SetMoraleDebuffAlliedFactionUnits(int moraleDebuffAlliedFactionUnits)
SetMoraleDebuffEnemyFactionUnitsfunction SetMoraleDebuffEnemyFactionUnits(int moraleDebuffEnemyFactionUnits)
SetMoraleDebuffOtherCasefunction SetMoraleDebuffOtherCase(int moraleDebuffOtherCase)
SetMoraleMaxfunction SetMoraleMax(int moraleMax)
SetMoraleMinfunction SetMoraleMin(int moraleMin)

Default values

mBadMoraleWaitTime=0.6000000
mAiCombatMapConfig=H7AiCombatMapConfig'H7CombatGeneral.Properties.AICombatMapConfig'
mMaxWaitTimeParticles=2.5000000
mCoverDamageReduction=0.5000000
mErraticCoverDamageReduction=0.1000000
mSiegeDefaultLocalGuard=4
mMetamagicMax=10
mRotationSelectTimer=0.5000000
mRotationSelectThreshold=30.0000000

Inherited

FromMembers
Actor156 properties, 262 functions
Object13 properties, 308 functions