Reference

Block reference

Every trigger, condition and effect in the kit, with its fields. Regenerated from the code with Tools > AutoBattleKit > Docs > Generate Block Reference, so your own blocks appear too.

Generated from code by Tools > AutoBattleKit > Docs > Generate Block Reference. Every ability is a trigger, optional conditions (all must pass) and effects (run in order). The Example column is what the block says with its default values.

Conditions

BlockPicker pathExampleWorks onFields
Armor Is ZeroArmor/Armor Is Zeroif the enemy has no armorany triggerwho (TargetRef)
ChanceChance25% chanceany triggerpercent (int)
Behind On HealthCustom/Behind On Healthif you have less health than the enemyany trigger
Once Per RoundCustom/Once Per Roundonce per roundany trigger
Damage Kind IsEvent/Damage Kind Isfrom poison damageany triggerkind (DamageKind)
From StrikeEvent/From Strikefrom a strikeany trigger
Health Above PercentHealth/Health Above Percentwhile above 50% healthany triggerpercent (int), who (TargetRef)
Health Below PercentHealth/Health Below Percentwhile at or below 50% healthany triggerpercent (int), who (TargetRef)
Item Tag CountItems/Item Tag Countif you own 2+ (no tag) itemsany triggertag (text), count (int)
Next To ItemItems/Next To Itemif next to a (no tag) itemany triggertag (text), count (int)
Every Nth TimeLimit/Every Nth Timeevery 3rd timeany triggern (int)
Once Per BattleLimit/Once Per Battleonce per battleany trigger
Uses Per BattleLimit/Uses Per Battleup to 2 times per battleany triggeruses (int)
NotLogic/Notif you have no Poisonany triggercondition (Condition)
Compare StatStats/Compare Statif your Speed is higher than the enemy's Speedany triggerstat (StatType), comparison (Comparison), against (TargetRef)
Stat At LeastStats/Stat At Leastif you have 5+ Attackany triggerwho (TargetRef), stat (StatType), value (int)
Has StatusStatus/Has Statusif the enemy has (no status)any triggerwho (TargetRef), statusId (text)
Allies AliveTeam/Allies Aliveif 1+ ally is aliveany triggeratLeast (int)
Is FrontTeam/Is Frontwhile in frontany trigger
Every Nth TurnTurn/Every Nth Turnevery other turnany triggern (int)
First TurnTurn/First Turnfirst turn onlyany trigger

Effects

BlockPicker pathExampleWorks onFields
Critical StrikeCombat/Critical Strikestrike for double damageBeforeStrikebonusPercent (int)
Gain Extra StrikesCombat/Gain Extra Strikesstrike 1 extra time this turnany triggeramount (Amount)
Gain Extra TurnCombat/Gain Extra Turntake another turn after this oneany trigger
Skip StrikesCombat/Skip Strikesthe enemy loses its next strikeany triggertarget (TargetRef), amount (Amount)
Detonate StatusCustom/Detonate Statusdetonate the enemy's Poison: remove it all and deal 2 damage per stackany triggertarget (TargetRef), statusId (text), damagePerStack (int)
Reflect DamageCustom/Reflect Damagereflect 50% of strike damage back at the attackerBeforeDamagedpercent (int)
Deal DamageDamage/Deal Damagedeal 1 damage to the enemyany triggertarget (TargetRef), amount (Amount), kind (DamageKind)
Gain ArmorDefense/Gain Armorgain 1 Armorany triggertarget (TargetRef), amount (Amount)
Cancel EventEvent/Cancel Eventcancel itBeforeStrike, BeforeStruck, BeforeDamaged, BeforeDeath
Cap Event AmountEvent/Cap Event Amountcap it at 5BeforeStrike, BeforeStruck, BeforeDamagedmax (int)
DodgeEvent/Dodgedodge itBeforeStruck, BeforeDamaged
Modify Event AmountEvent/Modify Event Amountreduce it by 1BeforeStrike, BeforeStruck, BeforeDamageddelta (Amount)
Multiply Event AmountEvent/Multiply Event Amountdouble itBeforeStrike, BeforeStruck, BeforeDamagedpercent (int)
Survive AtEvent/Survive Atsurvive at 1 health insteadBeforeDeathhealth (int)
HealHealing/Healheal 1any triggertarget (TargetRef), amount (Amount)
LifestealHealing/Lifestealheal 50% of the damageany triggerpercent (int)
Modify StatStats/Modify Statgain 1 Attackany triggertarget (TargetRef), stat (StatType), amount (Amount)
Apply StatusStatus/Apply Statusgive the enemy 1 (no status)any triggertarget (TargetRef), statusId (text), amount (Amount)
CleanseStatus/Cleanseremove all your debuffsany triggertarget (TargetRef), polarity (StatusPolarity)
Remove StatusStatus/Remove Statuslose 1 (no status)any triggertarget (TargetRef), statusId (text), amount (Amount)
Steal StatusStatus/Steal Statussteal 1 (no status) from the enemyany triggerfrom (TargetRef), statusId (text), amount (Amount)
Summon UnitTeam/Summon Unitsummon a 5/2 Wolfany triggerunitName (text), sprite (Sprite), health (int), attack (int), armor (int), speed (int), passives (list of Ability)

Triggers

TriggerOn youOn the enemy (Scope: Opponent)On an ally (Scope: Ally)
BattleStartBattle startEnemy battle startAlly battle start
TurnStartTurn startEnemy turn startAlly turn start
TurnEndTurn endEnemy turn endAlly turn end
BeforeStrikeBefore you strikeBefore the enemy strikesBefore an ally strikes
OnHitOn hitWhen the enemy hitsWhen an ally hits
OnStruckWhen struckWhen the enemy is struckWhen an ally is struck
BeforeDamagedBefore taking damageBefore the enemy takes damageBefore an ally takes damage
DamagedWhen you lose healthWhen the enemy loses healthWhen an ally loses health
WoundedWhen woundedWhen the enemy is woundedWhen an ally is wounded
ExposedWhen your armor breaksWhen the enemy's armor breaksWhen an ally's armor breaks
HealedWhen healedWhen the enemy healsWhen an ally heals
StatusGainedWhen you gain a statusWhen the enemy gains a statusWhen an ally gains a status
BeforeDeathBefore you would dieBefore the enemy would dieBefore an ally would die
BeforeStruckBefore you are struckBefore the enemy is struckBefore an ally is struck
CountdownWhen the countdown endsWhen an enemy countdown endsWhen an ally countdown ends
DiedWhen you dieWhen an enemy diesWhen an ally dies
SummonedWhen summonedWhen an enemy is summonedWhen an ally is summoned
BattleWonAfter winning a battleAfter the enemy winsAfter your side wins

Targets

TargetMeans
Selfyourself
Opponentthe enemy
EventSourcethe attacker
RandomEnemya random enemy
LowestHealthEnemythe weakest enemy
HighestAttackEnemythe strongest enemy
BackEnemythe back enemy
AllEnemiesall enemies
AllAlliesall allies
RandomAllya random ally
LowestHealthAllythe weakest ally
AdjacentAlliesadjacent allies
FrontAllythe front ally
EventSubjectthem