• Manual
  • Scripting API
  • Changelog
  • Contact
Search Results for

    Show / Hide Table of Contents
    • BattleBehaviour
      • BattleBehaviour.Fusion
        • FusionManager
        • GameCharacterFusion
      • Battle
      • BossSize
      • CharacterGroup
      • ScriptableBattlePosition
      • ScriptableBattleStage
      • TeamData
      • BattleBehaviour.Backup
        • BackupState
        • BattleBackup
    • GameActors
      • GameActor
      • GameCharacter
      • GameCharacter.AIState
      • GameItem
    • States
      • BattleState
      • ChangeStageState
      • FightState
      • FightState.LoseCondition
      • FightState.WinCondition
      • PreparationState
      • ResetSceneState
    • Battlefield
      • BattleGrid
      • BattleGrid.GridType
      • Bench
      • GridCell
      • GridCellEffect
      • SellZone
    • BattleUI
      • CharacterEnergyUI
      • CharacterHealthUI
      • CharacterStatsUI
      • DamagePopup
      • ItemDescriptionUI
      • ShopExpBarUI
      • StageUI
      • TraitDescriptionUI
      • TraitListUI
      • TraitListUI.OrderBy
      • TraitStatsUI
      • TraitUI
    • EditorScripts
      • BattleGridEditor
      • BattlePositionEditor
      • BenchEditor
      • GameCharacterEditor
      • NetworkObjectsListEditor
      • NFO_GameCharacterEditor
      • NGO_MenuActions
      • ReadOnlyDrawer
    • Formulas
      • BattleFormulas
      • BattleFormulas.DamageType
    • Movement
      • ApproximateAstarMovement
      • ExactAstarMovement
      • IBattleMovement
      • PathFinding2D
    • Multiplayer
      • BattleBehaviour
        • NetworkObjectList
        • StatsStruct
        • GameActors
          • NGO_GameCharacter
          • NGO_GameItem
        • Player
          • GamePlayer
          • IPlayer
        • States
          • MP_ConnectionState
          • MP_FightState
          • MP_PreparationState
      • ClientTransform
        • ClientNetworkTransform
      • EditorScripts
        • NGO_MenuActions
      • GamingServices
        • GamingServices
          • GamingServices.RelayHostData
          • GamingServices.RelayJoinData
      • UI
        • NetworkManagerUI
    • Shop
      • ScriptableShopItem
      • ShopCharacter
      • ShopGameItem
      • ShopItemInfo
      • ShopLevel
      • ShopLevelManager
      • ShopManager
      • ShopGUI
        • CurrencyUI
        • EquippedItemDescriptionUI
        • ShopItemUI
        • ShopUI
        • SpecialAttackDescriptionUI
        • Timer
      • ShopList
        • IShopList
        • ScriptableDeckList
        • ScriptableGroupItemList
        • ScriptableIndividualItemList
        • ShopItemList
    • Skills
      • ApplyBuffOnHitEffect
      • ApplyDebuffOnHitEffect
      • ArrowEffect
      • BuffEffect
      • BuffEffectInfo
      • FixedDamageOverTimeEffect
      • HealthMeteoriteAllEffect
      • HealthStealEffect
      • IAttackEffect
      • MeleeEffect
      • MeteoriteEffect
      • OnHitEffect
      • Projectile
      • RangedEffect
      • SimpleBuffEffect
      • SwordEffect
      • VariableDamageOverTimeEffect
    • Stats
      • CharacterStats
      • CharacterStats.CharacterStat
      • ItemModificator
      • StatModificator
      • StatsModificator
      • StatsModificator.ModificatorType
      • Trait
      • TraitOption
      • TraitOption.TraitTarget
    • Utility
      • AutoBattleSettings
      • ReadOnlyAttribute
      • UIUtility

    Class BuffEffectInfo

    It contains buff information that depends on each character, such as elapsed time or stacks.

    Inheritance
    Object
    BuffEffectInfo
    Namespace: AutoBattleFramework.Skills
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class BuffEffectInfo

    Constructors

    BuffEffectInfo(BuffEffect, GameCharacter, Int32, Single)

    Constructor of BuffEffectInfo.

    Declaration
    public BuffEffectInfo(BuffEffect buff, GameCharacter character, int stacks, float duration)
    Parameters
    Type Name Description
    BuffEffect buff

    Buff that affects the character.

    GameCharacter character

    Character affected by the buff.

    Int32 stacks

    Number of current stacks.

    Single duration

    Duration of the buff.

    Fields

    buff

    Buff that applies to the character.

    Declaration
    public BuffEffect buff
    Field Value
    Type Description
    BuffEffect

    character

    Declaration
    public GameCharacter character
    Field Value
    Type Description
    GameCharacter

    duration

    Duration of the buff, in seconds.

    Declaration
    protected float duration
    Field Value
    Type Description
    Single

    elapsedTime

    Time the buff has been applied.

    Declaration
    public float elapsedTime
    Field Value
    Type Description
    Single

    stacks

    Number of current stacks.

    Declaration
    public int stacks
    Field Value
    Type Description
    Int32

    Methods

    CanBeRemoved()

    Check if the elapsed time is greater than the duration. In that case, the buff should end.

    Declaration
    public bool CanBeRemoved()
    Returns
    Type Description
    Boolean

    True if elapsed time is greater that duration

    RestartTime()

    Set the elapsed time to 0.

    Declaration
    public void RestartTime()

    UpdateTime(Single)

    Adds the value to the elapsed time. Normally the value is equal to Time.deltatime.

    Declaration
    public void UpdateTime(float time)
    Parameters
    Type Name Description
    Single time

    Delta time.

    In This Article
    Back to top Auto-Battle Framework documentation