StatPoolsSystem

Documents the StatPoolsSystem class and its functions.

triangle-exclamation

Invoking StatPoolsSystem

To invoke the stat pools system, use the following Global function:

sps = Game.StatPoolsSystem()

Sub-functions

GetActiveModifierRecordID

GetActiveModifierRecordID(objID : StatsObjectID, statPoolType : gamedataStatPoolType, type : gameStatPoolModificationTypes, out isModifierDefault : Bool) : TweakDBID;

GetBonus

GetBonus(objID : StatsObjectID, statPoolType : gamedataStatPoolType, optional perc : Bool) : Float;

GetModifier

GetModifier(objID : StatsObjectID, statPoolType : gamedataStatPoolType, type : gameStatPoolModificationTypes, out modifier : StatPoolModifier) : Bool;

GetStatPoolMaxPointValue

GetStatPoolMaxPointValue(objID : StatsObjectID, statPoolType : gamedataStatPoolType) : Float;

GetStatPoolType

GetStatPoolValue

GetStatPoolValueCustomLimit

HasActiveStatPool

HasStatPoolValueReachedCustomLimit

HasStatPoolValueReachedMax

HasStatPoolValueReachedMin

IsStatPoolAdded

RequestAddingStatPool

RequestChangingStatPoolValue

RequestRegisteringListener

RequestRemovingStatPool

RequestResetingModifier

RequestSettingModifier

RequestSettingModifierWithRecord

RequestSettingStatPoolBonus

RequestSettingStatPoolMaxValue

RequestSettingStatPoolMinValue

RequestSettingStatPoolValue

RequestSettingStatPoolValueCustomLimit

RequestSettingStatPoolValueIgnoreChangeMode

RequestUnregisteringListener

ToPercentage

ToPoints

Last updated