Mechanics

In Bit Heroes there are three components that determine the amount of damage a player/familiar can do and sustain.

* **Primary stats**
* **Modifiers**
* **Amplifiers**

## Primary stats

Power, Stamina, and Agility are the player's base stats. They are used for calculating the player's total stats (TS), health bar, and overall damage output.

* **Power** () calculates the damage the player/familiar can deal. Each point in Power represents 1 damage.
* **Stamina** () calculates the player/familiar's health points. Each point in Stamina represents 10 health points.
* **Agility** () is used with **Power** to calculate the player/familiar's combat speed. For every turn, the player/familiar receives, the player/familiar generates 0.5 skill points(SP).

## Turn rate

As of 3/26/2017:

Agility has been reworked. Turn rates are now based on a sum of power and agility. This will allow players to use different builds without losing any overall damage.

The turn rate formula is :

T
u
r
n
R
a
t
# e

(
1

S
p
e
e
d
B
o
n
u
s

100

)
(

A
P

2

)
2

P

{\displaystyle Turn Rate = \dfrac{ (1+\tfrac{SpeedBonus}{100})(\tfrac{A + P}{2})^2}P}

P : Power

A : Agility

Speed Multiplier : 1 + sum of every speed boosts

Speed boosts applies on your turn rate, not on your agility score. If you have a gear with 20% speed boost, a 2% speed rune and a 1% speed enchant, you would get a 23% boost on your turn rate. In the formula above Speed Multiplier would be (1 + 23/100) = 1.23.

DPS (damage per second) is calculated by multiplying your turn rate and your damage (which is proportional to your power). With a bit of math, we can conclude DPS depends mostly of (P+A), which means it does not matter if you have 500 power and 500 agility, 100 power and 900 agility or 900 power and 100 agility. You'd end up with the same damage output over time.

## Types of damage

### Normal Damage

This is the type of damage easy to understand. You use a skill, apply modifiers, the opponent apply his modifiers, pets and other triggers can proc on both sides. Easy right?

Normal damage comes from :

* Skills
* Vampirism
* All stack modifiers: **Combustion**, **EMP**, **Hunter’s Mark**, **Explosion**, **EMP**, **Shatter**
* Aeneas 4/4 (Set)
* Leonidas crown (Mythic)
* Exothermic hat (Mythic)
* Shatter Heart of Escarium (Ancient)
* Heart of Escarium (Ancient)

TODO (Please help us fill this list by contacting wiki contributors on discord https://discord.gg/xSNHnKT!)

### True Damage

This type of damage is more restrictive. It often comes from an effect activating (proc) and follow special rules :

* True damage can't proc any pets, effects or anything.
* True damage ignores any defensive modifiers.
* True damage receives most offensive modifiers.

True damage comes from :

* Extort
* Bleed procs
* All damage Expenders (Firium Helmet)
* Offensive pets
* Offensive brain augments
* The left triangle (Artifact Runes)
* Taters set 3/3 (Set)
* Montezuma 4/4 (Montezuma does a special type of normal damage, that appears as Air Damage) (Set)
* Einar 4/4 (Set)
* Elcorvo 3/4 (Set)
* Hector 3/4 (Set)
* Firent 4/4 (Set)
* Orvar 4/4 (bleed expender) (Set)
* Thonderstriker 4/4 (Self-hit) (Set)
* Witchum 2/4 (Set)
* Thundercracker 4/4 (Set)
* Souvenir of Kerauna (Mythic)
* Boreas fire eye (Mythic)
* Leonidas wings (Mythic)
* Rabid Skeever (Mythic)
* Exothermic mask (Mythic)
* Soul of escarium (Ancient)

TODO (Please help us fill this list by contacting wiki contributors on discord)

### Stacks

Since tier 13, there is a new "stack" mechanic. When using specific skills or equipments, you can apply a stack of an affect to someone. They are always used to mark a target for an incoming effect. Stacks follow these rules :

* They don't deal damage. They are used to "mark" the ennemy for an incoming effect.
* Pending and actives stacks on a target can be deleted by cleanse.
* Sometimes, stacks are accompanied with a strength value (ex. Stacks with damage dealing effects. Example : Deal 45% damage and bleed. This will deal a normal skill with a base strength of 45%, and apply a bleed stack with a base strength of 45%)
* Sometimes, applying a stack counts as a hit and can trigger pets and other effects. Unfortunately, sometimes they don't, and the only way to know if a skill has an extra hit from its stack mechanic is to test it out. This can vary from weapon to weapon, or even from skills to skills.

List of mechanics applying stacks (See combat mechanics for more information) :

* Shock
* Combustion
* Bleed
* Freeze
* Root
* Corrupt

## Modifiers

There are defensive and offensive modifiers. A player can obtain modifiers via:

1. Gear
2. Accessories
3. Mounts
4. Enchants
5. Major Runes
6. Artifact Runes

### Defense modifiers

* **Health** - Represents how much health the player/familiar has. A health bonus is applied in-combat.
* **Evade** - Negates damage from incoming hits. The base evade chance for players and familiars is 2.5%.
* **Block** - Halves incoming damage. Block Critical is a block proc on an enemy's critical hit.
* **Deflect** - Lets the player/familiar avoid damage, as well as return the evaded damage to the enemy. Deflected hits can be blocked, evaded, deflected again, redirected, etc. There is no limit on the number of times damage can be deflected.
* **Redirect** - Causes an attack directed at another player/familiar to redirect to the player **with Redirect [whether from their Gear or Rune (Sol)]**. The redirect interaction is calculated prior to other defensive interactions (e.g. deflect/evade). This damage can be redirected [1] time per attack. If multiple players in a party have a chance to redirect damage, then the game calculates for each instance, but will not create an "indefinite" loop.
* **Shield** - Creates an additional health bar over the player's existing health. All sources of shielding add up to one shield meter. Standard shielding is capped at 50% of the player's base HP (except for certain items that raise the maximum). For example, a player with 5000 base HP can obtain a total of 2500 shield.
* **Absorb** - Transforms all of the damage received into shielding. Absorb is calculated prior to damage reduction.
* **Damage Reduction** - Reduces all damage received by a %. Damage reduction can be any of the 6 Elements.
* **Damage Enrage** - Stores a percentage of damage received as a bonus, **up to 25%** of the player/familiar's HP. On use, the bonus 'enrages' the next ability, increasing its potency at a one-for-one point value.
* **Team Enrage** - Works like *Damage Enrage* with the bonus collected for each team member as they are hit. The bonus is collected for only you, not your team.

### Offense modifiers

* **Damage** - Represents how much weapon damage/healing the player/familiar can deal. The damage bonus is applied in-combat. Bonus damage can be any of the 6 Elements.
* **Speed** - A bonus that accelerates your turn rate, It is applied in-combat, directly on your Turn Rate, not on your agility score.
* **Critical Chance** - Represents how often the player can cause a critical hit. The base critical chance for players and familiars is 10%.
* **Critical Damage** - Represents the damage multiplier when a player deals a critical hit. The base critical damage multiplier for players and familiars is +50%.
* **Life Steal** - Heals the player/familiar for a set percent of the damage the player/familiar deals.
* **Dual Strike** - Automatically recasts the same skill the player/familiar last chose. Determined at the start of a skill chain. A skill that dual strikes can trigger itself again when you have high amount of dual strike. If the skill is a "target enemy" skill and the initial target was killed by the first hit, the target with the lowest hp will receive the second hit. If the skill last chosen is a backline attack, and the backline enemy dies from the first hit, the new backline enemy will be targeted.
* **Empower Chance** - Gives a % chance to empower your skill and double its effectiveness.
* **Quad Strike** - Acts like Dual Strike, but casts a skill 4 more times (for a total of 5 casts), instead of just once.
* **Ricochet Chance** - (not listed in player info) Allows an attack to jump between existing enemies, dealing the same damage (prior to damage reduction) to another random enemy that is hit. Ricocheted hits can be blocked, evaded, deflected, redirected, ricocheted again, etc. There is no limit on the number of times an attack can ricochet.
* **Accuracy** - Reduces your target's Evade, Deflect and Absorb chance by X, where X is the amount of Accuracy you have.
* **| Critical Chance caps at 100% |**The other Offensive Modifiers do not have a cap (currently)

### Amplifiers

With the release of tier 13, several new mechanics/keywords (referred to as amplifiers) were introduced. Amplifiers can be seen as flexible or non-static modifiers (offensive and defensive).

* **Armor** - Reduce Empower & Dual Strike by x% on attacks you take (Armor does not interact with True Damage)
* **Adrenaline** - Provides X amount of Damage on each turn. Once it reaches X\*4 it resets back.
* **Blind** - 50% chance to miss your next hit.
* **Bolster** - Spreads shield for X% of your Power whenever you hit an enemy.
* **Barrier** - Gives an X% chance to end the attacker's skill proc chain whenever you get hit. Stopping any additional Dual/Quad strikes and prevents the attacker's proc of any Pet/Set triggers. Proc chain can be defined as any effect that can create additional effects hit/roll or otherwise. Multiple separate proc chains exists when like-triggers simultaneously proc from a single source. Any additional effects/procs from initial proc-chain source are considered to be part of the same chain.
* **Bleed** - Applies a stack of bleed (max 4 stacks) on the target. At the start of the target's turn bleed does damage to the target. Each stack of bleed has an independent duration of 4 turns. Bleed equals 100% of the skill damage dealt during the first initial attack.
* **Barkskin** - Prevents the player from taking more than 50% of their maximum health in one attack, but also receives 50% less healing.
* **Braveheart** - X% Chance to ignore the enemies defenses.
* **Cleanse** - Remove all stacks from the target (friendly, non-enemy unit). Currently removes negative effects and any elemental debuff.
* **Curse** - Your enemies gain X% chance to cast 0sp Skills only.
* **Corrupt** - Reduce the highest resistance of an enemy by 5%, stacks up to 3 times.
* **Combustion** - Applies a stack on the target with each hit. Upon receiving the third stack, the target explodes and receives damage equal to the amount of damage stacked.
* **Death Mark** - Reduce healing received by 50% until the start of your turn.
* **Expender** - When you spend (X) amount of SP gain (Y) bonus.
* **Extort** - At the start of battle, deal damage (100%) to the closest enemy and gain that amount as a shield.
* **Freeze** - Applies a stack on the target. Upon receiving the fourth stack, they are frozen. When an enemy is FROZEN, their next turn is skipped and they gain immunity to FREEZE until they take at least one action normally.
* **Fury** - Increase the target's damage of the next ability by X% of your Power.
* **Luck** - All random effects are rolled 2 times for a favorable outcome. Luck can be either negative or positive (see 64-bit Clover for more information).
* **Oxidize -** Removes 50% of the target’s current shield before dealing damage.
* **Patience** - Increases Damage Reduction by X% for each SP you have.
* **Purification** -Grants an X% chance to regain 1SP after spending SP.
* **Revenge** - Gain X% Damage Enrage each time your attack is evaded or blocked.
* **Revitalize** - Spreads heal for X% of your Power whenever you hit an enemy.
* **Root** - Applies a stack of root (max 4 stacks) on the target. Root reduces the damage from the affected target with -3% up to max -12%. Each stack of root has an independent duration of 4 turns
* **Shock** - Applies a stack on the target with each hit. Upon receiving the third stack, they trigger an E.M.P., giving the same damage to all enemies equal to the amount of damage stacked.
* **Sap** - Drains X% of the target's current SP whenever you hit an enemy.
* **Vampirism** - Gives an X% chance to apply a drain on the target that hit you. This damage is equal to a Drain Target skill (45%)
* **Weaken** - Reduce the enemy team's SP regen by X%.
* **Stimpack** - Gain 0.2 SP per stack up to 4 stacks. Each stack lasts 3 turns.
* **Leach** - Target will lose 0.2 SP per stack up to 4 stacks. Each stack lasts 3 turns.
* **Detox** - Chance X% Chance to not get stacked.
* **Backstab** - If the target has 3 stacks of bleed, remove them and deal all damage instantly.

## Triggers

Equipment and (mostly) Pets have trigger mechanics (a.k.a. procs). A trigger can be divided into four parts:

1. **Chance**: The percentage or chance that the effect activates
2. **Type**: The method or way the effect gets triggered
3. **Effect**: The actual effect or skill that is activated by the chance and type
4. **Target**: The target of the effect

For example, a pet with "40% chance to attack strongest when you get hit". Within this sentence:

* Chance = "40% chance to"
* Type = "when you get hit"
* Effect = "attack"
* Target = "strongest"

The type determines how the effect can be triggered. For gear the trigger type is fixed, however, for several pets the type can be changed through reforging. There are five different trigger types:

1. **When you get hit** : If you get hit, the trigger effect activates regardless if it activates a defensive modifier that lets you avoid damage (i.e. Evade/Block/Damage Reduction, HOWEVER: Deflect does NOT proc your pet when you are hit (Absorb is untested))
2. **When you hit** : If you hit an enemy, the trigger effect activates even if it the enemy activates a defensive modifier that lets the enemy avoid damage (i.e. evade/deflect/absorb)
3. **Per turn** : At the beginning of your turn, the trigger effect activates
4. **When you get hit, When you hit, and Per turn** : A combination of all the three trigger types mentioned above
5. **Upon death** : Whenever you die the trigger effect activates (only applies to Guild Shop pets)

The amount of a trigger effect is based on a % of the player's power (). The most common effects are:

1. **Spread mechanic**: Spread between the team members who need it; starting with the member who needs it the most
2. **Team mechanic**: Equally apply the effect to every member of the team
3. **Self mechanic**: Only apply the effect to the player

There is a wide variety of defensive and offensive targets. Below the most common ones:

1. **Closest**: Target the enemy closest to your team. In other words, the first enemy you encounter from front to back
2. **Furthest**: Target the enemy furthest away to your team. In other words, the last enemy you encounter from front to back
3. **Weakest**: Target the enemy with the lowest stamina at the moment of triggering
4. **Strongest**: Target the enemy with the highest stamina at the moment of triggering
5. **Random**: Target a random enemy.

## Elements

    Elemental Gear and Familiars were added to the game in Zone 10. Their effects come in the form of *elemental resist, bonus elemental damage,* and *special effects.*

At this time the individual elemental relationships are: **matching** to one type of element, **strong*(er)*** *to one type of element, **weak** to one type of element, and **neutral** to all others. Matching the type of element is 100% effective, Strong or Neutral is 75% effective, Weak is 0% effective.*

The previous generic damage type found in the game is now referred to as **Physical** damage. Any gear that does not specify an element is now a Physical item. Additionally, any ability that does not specify elemental damage or resistance now deals/resists Physical damage and is neutral to all other elements. *e.g. The previous bonus of Damage Resist (DR) is matching against Physical damage (100% effective) and is Neutral (75% effective) to all other elements damage.*

### Elemental Types

    *An element is "matching" to itself.*
* **Fire (F):** weak to Water, stronger to Earth
* **Earth (E):** weak to Fire, stronger to Air
* **Air (A):** weak to Earth, stronger to Electric
* **Electric (Z):** weak to Air, stronger to Water
* **Water (W):**  weak to Electric,stronger to Fire

**Gear can have elemental damage, resist, or both.**

*Examples:*

* The Kiluhwot body piece can deal Electric Damage.
* The Voltpico mount can deal special Electric Damage, and it also provides Water Resistance.

### Formulas

If you have damage and/or reduction of more than 1 element, they are added together for your total bonus damage and/or reduction, with a certain weight.

 **Total DR = (dr1 \* eff1) + (dr2 \* eff2) + (dr3 \* eff3) + (dr4 \* eff4) + ...**
 **Total DMG = (dmg1 \* eff1) + (dmg2 \* eff2) + (dmg3 \* eff3) + (dmg4 \* eff4) + ...**
There is also a cap of 75% damage reduction, that is applied only once every elements are added.

 **if Total DR > 75 then Total DR = 75**
Finally, Total DMG is substracted from Total DR (if Total DMG is greater than Total DR, then it is marked as a bonus dmg instead of reduced damage ingame)

 **Result = Total DR - Total DMG**
### Situation - A mixed example to rule them all

* Ken has 20% Physical dr, 4% Fire dr, 4% Earth dr, 12% Air dr, 12% Electric dr and 80% Water dr.
* Elle has 8% Physical dmg, 8% Fire dmg, 16% Earth dmg, 16% Air dmg, 4% Electric dmg and 4% Water dmg.
* Elle attacks Ken with an  **air attack**

Ken's DR exceeds 75%, so it is capped at 75%. Elle has 43% damage bonus

 **Ken receives Elle's attack with 75-43 = 32% reduced damage**

### Q&A

**What is the maximum resistance I can stack on my character?**

* There is a 75% cap on the sum of all your resistances.

**Can Elemental damage be triggered by pets, deflects, and redirects?**

* Yes!

**How are familiars and fusions affected by elements and DR?**

* Familiars and fusions will also use the full range of elemental damage and reduction.

**How do I view my elemental damage and reduction stats?**

* The information is now available in the 'Stats' section of your Player Info screen.

* To access it, tap or click on your player profile and click on the information button in the top left. Scroll down to the Stats section to view your resistances and damage bonuses.

**Where can I find elemental gear?**

* Elemental gear is currently able to be found in Uamor, Tier 11 and 12 Trials and Gauntlet, the Minions of Taranis Raid, all tiers of the Titans Attack! world boss, and other Tier 12 world bosses.

## Auto-fighting AI

When fighting in auto mode, skills are randomly selected using **weighted chances**. Those weighted chances are hidden, and not actually present on the wiki.

The formula for a skill to be used is **Weight/Total Weight**.

Let's take frestir's skills as an example.

At 0 SP, Frestir can only use the first 2 skills. TotalWeight = 10 + 20 = 30.

* Frestir has 10 / 30 = 33% chance to use Ladino.
* Frestir has 20 / 30 = 67% chance to use Sancturum.

At 4 SP, if there is not dead teammate, or Frestir already used his revive skill, he can use all skills except Hwake. TotalWeight = 10 + 20 + 20 + 20 + 30 = 100.

* Frestir has 10 / 100 = 10% chance to use Ladino.
* Frestir has 20 / 100 = 20% chance to use Sancturum.
* Frestir has 20 / 100 = 20% chance to use Lachdananan.
* Frestir has 20 / 100 = 20% chance to use Moreg.
* Frestir has 30 / 100 = 30% chance to use Cafor.

At 1 SP, with a dead teammate, Frestir can use all skills except Cafor. TotalWeight = 10 + 20 + 20 + 20 + 50 = 120.

* Frestir has 10 / 120 = 8.3% chance to use Ladino
* Frestir has 20 / 120 = 16.7% chance to use Sancturum.
* Frestir has 20 / 120 = 16.7% chance to use Lachdananan.
* Frestir has 20 / 120 = 16.7% chance to use Moreg.
* Frestir has 50 / 120 = 41.7% chance to use Hwake.

## Notes

1. ↑ Not to be confused with Stat Point, which permanently increase your total stats by 1.
2. ↑ Turn rate change also affects familiars
3. ↑ As of 3/8/2019, damage enrage cap increased from 10% to 25% of total health.
4. ↑ As of 6/8/2018, Quad Strike now **adds 4 additional attacks**, up from 3.
5. ↑ It is your turn whenever you can use a skill
6. ↑ Elements that are neither strong nor weak to another are neutral.
7. ↑ This article was sourced and corrected from the Elemental Gear FAQ, located at: https://bitheroes.zendesk.com/hc/en-us/articles/360039253311