• Api Documentation

    Show / Hide Table of Contents
    • CreatorKitCode
      • BaseElementalEffect
      • CharacterData
      • Container
      • ElementalEffect
      • EquipmentItem
      • EquipmentItem.EquipmentSlot
      • EquipmentItem.EquippedEffect
      • EquipmentSystem
      • Helpers
      • HighlightableObject
      • InteractableObject
      • InventorySystem
      • InventorySystem.InventoryEntry
      • Item
      • Loot
      • LootSpawner
      • LootSpawner.LootEntry
      • LootSpawner.SpawnEvent
      • SFXManager
      • SFXManager.PlayData
      • SFXManager.Use
      • SpawnPoint
      • StatSystem
      • StatSystem.DamageType
      • StatSystem.StatModifier
      • StatSystem.StatModifier.Mode
      • StatSystem.Stats
      • StatSystem.TimedStatModifier
      • UsableItem
      • UsableItem.UsageEffect
      • VFXDatabase
      • VFXDatabase.VFXDBEntry
      • VFXManager
      • VFXManager.VFXInstance
      • Weapon
      • Weapon.AttackData
      • Weapon.Stat
      • Weapon.WeaponAttackEffect
    • CreatorKitCodeInternal
      • AmbiencePlayer
      • AnimationControllerDispatcher
      • AnimationControllerDispatcher.IAttackFrameReceiver
      • AnimationControllerDispatcher.IFootstepFrameReceiver
      • AttackState
      • BreakableObject
      • CameraController
      • CharacterAudio
      • CharacterControl
      • DamageUI
      • DamageUI.ActiveText
      • EffectIconUI
      • EquipmentUI
      • InventoryCharacterRender
      • InventoryUI
      • InventoryUI.DragData
      • ItemEntryUI
      • ItemTooltip
      • LootUI
      • RandomBGMPlayer
      • RandomLoopOffset
      • ResourceManager
      • SceneLinkedSMB<TMonoBehaviour>
      • SimpleEnemyController
      • SimpleEnemyController.State
      • TrainingDummy
      • UIAlphaRaycast
      • UISystem

    Class StatSystem.Stats

    Store the stats, which are composed of 4 values : health, strength, agility and defense. It also contains elemental protections and boost (1 for each elements defined by the DamageType enum)

    Inheritance
    System.Object
    StatSystem.Stats
    Namespace: CreatorKitCode
    Assembly: Assembly-CSharp.dll
    Syntax
    [Serializable]
    public class Stats

    Fields

    agility

    Declaration
    public int agility
    Field Value
    Type Description
    System.Int32

    defense

    Declaration
    public int defense
    Field Value
    Type Description
    System.Int32

    elementalBoosts

    Declaration
    public int[] elementalBoosts
    Field Value
    Type Description
    System.Int32[]

    elementalProtection

    Declaration
    public int[] elementalProtection
    Field Value
    Type Description
    System.Int32[]

    health

    Declaration
    public int health
    Field Value
    Type Description
    System.Int32

    strength

    Declaration
    public int strength
    Field Value
    Type Description
    System.Int32

    Methods

    Copy(StatSystem.Stats)

    Declaration
    public void Copy(StatSystem.Stats other)
    Parameters
    Type Name Description
    StatSystem.Stats other

    Modify(StatSystem.StatModifier)

    Will modify that Stat by the given StatModifier (see StatModifier documentation for how to use them)

    Declaration
    public void Modify(StatSystem.StatModifier modifier)
    Parameters
    Type Name Description
    StatSystem.StatModifier modifier
    Back to top Generated by DocFX