# Fighting

In Arborethia, the mushrooms defend the Tree of Life from attacking creatures. The fighting system is turn-based, and to engage in battle, you select the Fight option for a character in the Barracks. Fighting costs 1 Action Point (AP) and the formulars for attack and defense values can be seen at the bottom of the page.

<figure><img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FXymAvp0wi6dlbMDhC2Cf%2Fimage.png?alt=media&#x26;token=3826a5c4-04ab-4479-973e-3c49905c7774" alt=""><figcaption></figcaption></figure>

### The battle screen

The battle screen is openend when you command one of your characters to fight.

<figure><img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2F3mpvaba4X1h1Qkb3ZFPm%2Fimage.png?alt=media&#x26;token=b584565a-f895-42b2-aef2-1276983e447c" alt=""><figcaption></figcaption></figure>

There are different control buttons and status windows that effect the battle or the view on the battle.&#x20;

* <img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FDRiiHKVvRz1MelgxY4VY%2Fimage.png?alt=media&#x26;token=27d06f4f-a245-4340-82c0-207d6ead684b" alt="" data-size="line"> action button - normal attack <img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FyFg2bGY9FWc1ZhJEqOIv%2Fimage.png?alt=media&#x26;token=000e8653-5f99-447b-a6a5-ec732a92f725" alt="" data-size="line">. Attack with 100% of the characters attack value with a miss chance of 10% on the selected target. Chances can be improved with items.
* <img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FGvyuAzaLDJILrGOqSknO%2Fimage.png?alt=media&#x26;token=c990e582-944d-4736-8f8b-cc57c5a8613f" alt="" data-size="line"> action button - strong attack <img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FzqtIgx8BO4pLKfyIZJSI%2Fimage.png?alt=media&#x26;token=d0245b22-f9bf-49dd-b03c-db140ce55957" alt="" data-size="line">. Attack with 100% of the characters attack value with a miss chance of 60% on the selected target. Chances can be improved with items.
* <img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FF3kaTHn8ZTcH01Mxx5R8%2Fimage.png?alt=media&#x26;token=05b344d1-948b-469a-bba3-759a95ad987b" alt="" data-size="line"> action button - class spell <img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FkJ16KDAYMgdP9Qc93V7C%2Fimage.png?alt=media&#x26;token=b068ea1c-34c3-4740-a9e5-8ecc8982ddee" alt="" data-size="line"><img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FuzwKddp5At6nvMfXXGoD%2Fimage.png?alt=media&#x26;token=2ab3c15b-e43f-4f52-8e88-e77ab78c381e" alt="" data-size="line"><img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2F5W26ygewizbUhlrGuecG%2Fimage.png?alt=media&#x26;token=a1302959-bdab-41d6-8655-161e1c7950a7" alt="" data-size="line"><img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FUMPCxRfT1CcBdgrfZNeY%2Fimage.png?alt=media&#x26;token=145c5f67-2e04-45c4-9911-53f1784943cd" alt="" data-size="line"><img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2Ft6ov4wtaWpszHxbZezvd%2Fimage.png?alt=media&#x26;token=b1d727ed-295e-4d73-8e6f-8700243276c6" alt="" data-size="line"><img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2F8jZrNDbf5bDy3OMpX0Or%2Fimage.png?alt=media&#x26;token=91c6cb05-79da-4109-a037-a734769df2f8" alt="" data-size="line">. Cast of the characters class specific spell on a valid target if at least 1 mana is available.
* <img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FwHg32WxSrIMj6Cmmiskc%2Fimage.png?alt=media&#x26;token=c22e6cd9-2306-433a-84da-889f60ed1c4a" alt="" data-size="line"> action button - surrender <img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FjdM5hgbF9BNgp8gSQ0QT%2Fimage.png?alt=media&#x26;token=92f450a5-ab1d-43c8-9384-5d4253c9dcc2" alt="" data-size="line">. Flee from the fight
* <img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FVkZHDwYmViq1EjLXORlY%2Fimage.png?alt=media&#x26;token=ff877ce9-cbd0-412b-9a14-cb3a58b7ec20" alt="" data-size="line"> skip fight button - The whole battle will be visually skipped and a normal attack will be performed until the battle is over. The end of battle screen is shown immediately.
* <img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FfJSh9kxEM0jOQRCzN16E%2Fimage.png?alt=media&#x26;token=6dc4bde3-e096-46d7-a7ed-4f37c01b76df" alt="" data-size="line"> history button. When pressing this button the history (attacks, damage, heal etc.) of the current battle is shown
* <img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FXn3HhUiPH9p6NSoL7iuA%2Fimage.png?alt=media&#x26;token=aa3e52fc-ea97-445c-857b-e9ae17e25136" alt="" data-size="line"> Character Information. At this panels the stats of your character and the enemy character can be seen. By hovering over the equipped items/abilites of the characters additional information is shown.
* <img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FWUCfLs6hzlmwWAWPO5tw%2Fimage.png?alt=media&#x26;token=6c7084fd-29a0-47d3-a9ec-10c08bab17d1" alt="" data-size="line"> Animation speed. The animation speed can be changed. Possible animation speeds: 1x, 2x, 4x.

<figure><img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FZPf3nYNmJvIsqJsR6wCr%2Fimage.png?alt=media&#x26;token=8c4e0460-38c2-4fdc-94b3-eac2b5356bbb" alt=""><figcaption></figcaption></figure>

After selecting all actions and targets, initiate the round by clicking the **Start Battle** button.

<figure><img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FNSwpkwKiCnqo3Zrq6lHb%2Fimage.png?alt=media&#x26;token=b9c9255e-e799-44f7-bead-d78522299d6c" alt=""><figcaption><p>Battle information</p></figcaption></figure>

**If a fight is lost:**

The Mushroom dies. If the player wants to continue the day with a dead mushroom, there is the option to revive a character. This can be done for the cost of a level-dependent amount of SPORES.

Arborethia revives every fallen defender when a new day begins.

**If a fight is won:**

The mushroom gets healed by 1/4 of its max HP and receives EXP based on the strength of the defeated creature. The EXP amount can be increased by traits or items. Additionally, there is a chance that the defeated creature drops loot. The loot can **either** be an item or a random amount of SPORES, or even Truffles when facing the Leprechaun.

<figure><img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FUumdSzflaCgJrjWUa9da%2Fimage.png?alt=media&#x26;token=9a23ba48-7e03-43fc-ad9b-baf2eed609e7" alt=""><figcaption></figcaption></figure>

With increasing levels, the character will face more powerful creatures and it will become more difficult to win against those creatures. Items  will rise in importance as the game progresses.

<div align="center"><img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FRA695HN8xGMwu4StsGQz%2FFungea_Items_Bow_Epic.png?alt=media&#x26;token=8342104a-6bf6-450c-9ac9-7a79f6543e32" alt=""> <img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FiDj4H9pBAyUCEKJDxLDs%2FFungea_Items_Stick_Epic.png?alt=media&#x26;token=c2ce8a86-bade-4c39-831f-1f352b1bb342" alt=""></div>

**Damage formulars:**

$$
Atk = (Atk\_{Base} + Atk\_{TraitBase} +
Atk\_{ItemBase} + Atk\_{SpecItemBase} + Atk\_{BuffBase}) \*
$$

$$
(1 + Atk\_{TraitBonus} + Atk\_{ItemBonus} + Atk\_{SpecItemBonus} + Atk\_{BuffBonus})
$$

$$
Def = (Def\_{Base} + Def\_{TraitBase} + Def\_{ItemBase} + Def\_{SpecItemBase} + Def\_{BuffBase}) \*
$$

$$
(1 + Def\_{TraitBonus} + Def\_{ItemBonus} + Def\_{SpecItemBonus} + Def\_{BuffBonus})
$$

$$
HP\_{Reduction} = Atk \*(1 - DamageReduction)
$$

$$
HP\_{EOA} = HP - HP\_{Reduction}
$$

$$
HP\_{EOR} = HP\_{EOA} + HP\_{RoundEffects}
$$

<figure><img src="https://3672031882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffhcard3pcDD5EMvVesel%2Fuploads%2FRlrloTPjqTAHVX9JS0cI%2Fimage.png?alt=media&#x26;token=cf39187b-d08a-4b5a-8fa4-d91600a56ac6" alt=""><figcaption></figcaption></figure>

EOA ... End of Attack

EOR ... End of Round
