• 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 ArrowEffect

    Simple projectile attack. The projectile moves in straight line until it reaches the target.

    Inheritance
    Object
    IAttackEffect
    RangedEffect
    ArrowEffect
    Inherited Members
    RangedEffect.projectile
    RangedEffect.speed
    IAttackEffect.ai
    IAttackEffect.EffectImage
    IAttackEffect.EffectDescription
    IAttackEffect.DoubleAnimation
    IAttackEffect.DamageType
    IAttackEffect.OnHitEffects
    Namespace: AutoBattleFramework.Skills
    Assembly: cs.temp.dll.dll
    Syntax
    public class ArrowEffect : RangedEffect

    Methods

    Attack(GameCharacter, Transform)

    On attack method. Spawn a Projectile.

    Declaration
    public override void Attack(GameCharacter ai, Transform shootingPoint)
    Parameters
    Type Name Description
    GameCharacter ai

    Attacking GameCharacter

    Transform shootingPoint

    The transform from which the projectile will be launched.

    Overrides
    IAttackEffect.Attack(GameCharacter, Transform)

    OnHit(GameCharacter)

    Calls BasicAttackDamage(BattleFormulas.DamageType, GameCharacter, GameCharacter) when the projectile hits the target.

    Declaration
    public override void OnHit(GameCharacter target)
    Parameters
    Type Name Description
    GameCharacter target

    The target of the projectile.

    Overrides
    IAttackEffect.OnHit(GameCharacter)

    SpawnProjectile()

    Instantiate the Projectile and sets its properties.

    Declaration
    protected override Projectile SpawnProjectile()
    Returns
    Type Description
    Projectile

    The Instantiated projectile

    Overrides
    RangedEffect.SpawnProjectile()
    In This Article
    Back to top Auto-Battle Framework documentation