This document describes the game system in Akagoria.

## 1. Main character: Kalista

### 1.1. Attributes

The main character has 5 attributes

• Strength (STR)

• Dexterity (DEX)

• Intelligence (INT)

• Wisdom (WIS)

• Knowledge (KNO)

Each attribute has two sibling attributes and two opposed attributes. For example, Strength is opposed to Intelligence and Wisdom.

Figure 1. Attributes of the main character

All attributes start at 50% and cannot go above 100% or beyond 10%. When an attribute is used (through its associated skills, see Section 1.3, “Skills”), it is enhanced and its two opposed attributes are reduced. The siblings attributes are unchanged. More precisely, if an attribute receives $x$ points, then $\frac{x}{2}$ points are taken from its two opposed attributes. As a consequence, the total points for all the attributes remains the same: 250%.

• Health

• Magic

• Vitality

### 1.3. Skills

#### 1.3.1. Melee combat

Attribute: Strength

##### Swords, axes

Melee weapons (swords, axes, knifes, …​) have the following properties:

• ATK: the attack power

• Required strength: the minimum strength needed to use the weapon

• VP: The number of Vitality point

• Cooldown: the time after which the weapon is ready

##### Shields

Shields have the following properties:

• DEF: the defense power

• Required strength: the minimum strength needed to use the weapon

• VP: The number of Vitality point

#### 1.3.2. Distance combat

Attribute: Dexterity

##### Bows, crossbows

Ranged weapons (bows, crossbows, …​) have the following properties:

• Range: the maximum distance of the target

• Angle: the maximum deviation of the arrow to reach the target

• Required dexterity: the minimum dexterity needed to use the weapon

• Cooldown: the time after which the weapon is ready

Projectiles (arrows, bolts, …​) have the following properties:

• ATK: the attack power

• VP: The number of Vitality point

#### 1.3.3. Magic spells

Attribute: Intelligence

The user has to find books in order to learn the spells.

##### Elemental spells

Elemental spells (fire, ice, lightning, …​) have the following properties:

• ATK: the attack power

• MP: the number of magic points

• Required intelligence: the minimum intelligence needed to use the spell

##### Protection spells

Protection spells (barrier, …​) have the following properties:

• DEF: the defense power

• MP: the number of magic points

• Required intelligence: the minimum intelligence needed to use the spell

#### 1.3.4. Magic incantation

Attribute: Wisdom

The user has to find parchments in order to learn incantations.

##### Alteration spells

Alteration spells (disease, curse, malediction, lethargy, …​) have the following properties:

• ATK: the attack power

• MP: the number of magic points

• Required wisdom: the minimum wisdom needed to use the spell

##### Enhancement spells

Enhancement spells (cure, double vitality, double health, …​) have the following properties:

• Effect: the effect of the spell

• MP: the number of magic points

• Required wisdom: the minimum wisdom needed to use the spell

#### 1.3.5. Alchemy

Attribute: Knowledge

The character has to collect ingredients and recipes in order to be able to craft explosives and potions with the cauldron.

A recipe has the following properties:

• Required knowledge: the minimum knowledge required to use the recipe

##### Explosive crafting

Explosives (grenade, fireball, …​) have the following properties:

• ATK: the attack power

• VP: The number of Vitality point

##### Potion crafting

Potions (health potion, magic potion, …​) have the following properties:

• Effect: the effect of the potion

### 1.4. Experience

Experience is gained by absorbing dark power, in Shrines of Ike. A certain amount of experience corresponds to a level $L$.

## 3. Action resolution

### 3.1. Combat resolution

1. Check if the attack is valid

1. Check if the remaining associated points are high enough

2. Check if the associated skill $S$ is high enough

2. Compute success of the action

1. Choose a random number $R$ between 0 and 100

2. If $R \leq S$, the action is successful otherwise the action is failed

3. Compute the extent of success: $E = 1 + \frac{S - R}{100}$

3. Compute power of the attack

1. Compute the offensive points: $\text{ATK} \times E \times \sqrt{L}$

4. Compute power of the defense

1. Compute the defensive points: $\text{DEF} \times \sqrt{L}$

2. If the defensive points are larger than the offensive points, then the action is missed

5. Compute the damage

1. The damage corresponds to: $ATK \times E$