# Open Source Formula

The Battle Mechanic Formulas on the previous page make reference to Base and Factor variables. The numbers will be adjusted for tuning balances as needed to create competitive gameplay.

As part of the transparency we want to provide our players, we have open-sourced the entire formulas and calculations. Here are the Base and Factor values as they stand today.

```
Attack Damage Factor = 100
Hit Chance Base = .8
Hit Chance Factor = .05
Defense Factor = 66
Base Health = 999
Health Modifier = 555
Base Evade = .05
Evade Factor = .05
Critical Chance Factor = .1
Critical Damage Factor = 55
Magic Damage Factor = 100
Resistance Factor = 66
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://unicorn-fight-club.gitbook.io/unicorn-fight-club/game-mechanics/open-source-formula.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
