Battle Mechanics

DemonsAreCrazy's battle mechanic is the same across all different types of game modes. All characters' power are based on four basic stats (STR, VIT, DEX and Tal) which are used to calculate all the battle mechanic. In general, all damages fall into three categories: Physical, Magical, and Effect.

ภาษาไทย

## Four Basic Stats

Four basic stats is probably the bulk of each character as it is used to determine almost all other stats and damage calculation. They are increase as the character level up or when the character equip equipments.

**STR** - Strength increase character's physical damage by 1 and increase its defence ratio by 1%.

**VIT** - Vitality increases character's Max HP by 10 and Max KO by 0.1.

**DEX** - Dexterity increases character's crit rate, crit damage, evasion as well as its run speed by 1%

**TAL** - Talent increases character's magical damage by 1% and its Max MP by 3.

## Sub categories stats

**HP** - Hit Points are the life of each character. When it reaches 0, the character will die.

**MP** - Magical Points are the points required to use various skill.

**SP** - Stamina Points are drained when character sprint or take other actions. Character will enter exhaust state when it is depleted.

**KO** - Knock Out Point is reduced everytime a character is hit. When it reaches 0 character will enter knockout state.

**Run Speed** - Run Speed determined how fast the character run.

**Weight** - Weight determine how far character is pushed when it knock back.

## Damage Type

All attacks will result in a physical, a magical or an effect damage. There’s no difference in result, only how the damage is calculated. For example, most normal attack will be physical and use STR in their calculations. So higher strength = stronger normal attack. Magical and effect damage are mostly TAL base, and they cannot be evaded or recieved critical state.

### Physical Damage

Physical Damage (white color) is the most common damage type in the game. It recieves chance to miss, evaded and get critical. (When crit, the damage color will turn to yellow number.)

### Magical Damage

Magical Damage (pink color) is damage from magical power. It cannot be evade with evasion points nor do they recieve any chance of getting critical. It is usually indicated with TAL(number) where number is the MOD of the skill being used, multiply by user's TAL.

### Effect Damage

Effect Damage (purple color) is mostly damage from damage over time status or some special attack that bypass target's defense. They cannot be evade nor crit but does not take target defense into calculation.

## Elemental Resistance

Each character has different values of elemental resistance and will greatly increase or decrease the damage recieved from that elements. When there are multiple elements in one attack, the **SUM** resistance is used instead.

* Normal (or non-elemental)
* Light Element
* Fire Element
* Wind Element
* Water Element
* Earth Element
* Thunder Element
* Ice Element
* Poison Element
* Dark Element
* Rainbow Element (equal all elements except light and dark)

* Rainbow element is a special element type. When an attack has a rainbow element, the result damage is the combined **SUM** of all elemental resistances (excluding light and dark), not the average.

*Example for multi-element move resist calculation.*

* Xunwu's FlashFire  (deal / damage)
* Targets with -50 fire / -30 wind resist will take 180% dmg.
* Targets with +50 fire / -30 wind resist will take 120% dmg.
* Targets with +50 fire / +30 wind resist will take 20% dmg.

## Buff and Debuff Status

There are many  buff and debuff status in the game which will cause different temporary effect to the character. They will vanish over time and return character to the original state. The status with same effect will combine together, leaving with longest duration and highest effect. Some status with opposite effect (such as STR Up and STR Down) will cancle the old one out, leaving only the new one in place.

There are 4 main Types of Buff/Debuff in the game.

* Stat Buff and Stat Debuff - The Buff/Debuff that relate to 4 main stats (STR/VIT/DEX/TAL)

* Power Buff and Power Debuff - The Buff/Debuff that give another stat to character (ex. ATK/MAG/DEF...)

* Elemental Buff and Elemental Debuff - The Buff/Debuff that relate to character's elemental resist

* Crowd Control - Another Buff/Debuff that causes the character to inflict some status (ex. Stun/Silence/Disarm/Cripple...)

*Example Status.*

  Cleanse | Erase all other magical debuffs on target.

While most Buff/Debuff doesn't stack, there are many GameStatus that carry similar effects and can be used in conjunction with each other to enhance the result. This way, you can even defeat the strongest foe by planning the best strategy for each situation. Choose the buff/debuff combinations wisely to create the **Buff/Debuff combo** such as below.

**Evade Combo** (maximize the evasion chance)

* Evade tank with  EvasionUp +  DexUp buff
* Debuff target with  Blind +  DexDown +  AcuDown

**Anti-Phy Combo**

* Blind +  PhyDown +  StrDown

**Anti-Mag Combo**

* Silence +  MagDown +  TalDown

*\*\*For the specific damage, such as Raid Boss fight, players can combine these groups of buff/debuff with **elemental buff** or uniqueStatus for the easier raid.*

You can see the list of all status here: GameStatus