Combat

**Combat** is one of the crucial elements in Broken Ranks. Below you can find the details.

## Combat Basics

The world of Broken Ranks can be seen from an isometric view like in classic cRPG, e.g. the famous Baldur’s Gate. However, our combat system is rather unusual, especially for an MMORPG. As soon as combat starts, the gameplay becomes **turn-based**, similarly to Heroes of Might & Magic - the series we drew inspiration from.

Although the system is very tactical, you also need good reflexes. You have to react quickly, anticipate the opponent’s moves, and plan your actions ahead of time. Combat is divided into rounds. In each round, you have **10 seconds** to choose abilities and assign action points - the opponents don’t wait for you to make up your mind.

### **Rounds and action points.**

Every action in combat costs action points. Normally, you have 12 of them. You can assign them to attacks and defenses. After the aforementioned 10 seconds pass, your character performs the actions and the round ends.

The more action points you spend on an attack or defense, the higher the chance the action succeeds. However, assigning more action points doesn’t increase the damage you deal. You can modify your tactic each round using the 12 action points. If you’re fast, you can end the preparation phase before the 10 seconds pass - all you need to do is click the time bar.

### Defence.

By setting defenses, you can avoid attacks coming your way. There are three defense zones:

* Melee, ranged, mental. You can assign up to 5 action points to each zone (remember that you can assign a maximum of 12 points in total, both for attacks and defenses). Of course, the defenses you use depend on the opponent type and your intuition. Look at the enemy and always pay attention to their attacks.

The more points you assign to each defense, the higher the chance to avoid your opponent’s attacks in that zone (a lot depends on the number of points they assign to their attacks, their attributes, and level). Not assigning any points to one of the defenses means that the opponent will automatically hit you with every attack in that zone.

### Attack.

You can set up to **5 attacks each round**. There are five attack circles where you can put one attack each from among all your abilities (basic and class ones). Then you assign action points to them (a maximum of 5 per attack).

At least 1 action point must be assigned or the attack won’t be performed at all. The more points you assign, the higher your accuracy will be (a lot depends also on the opponent’s defense settings, attributes, and level).

It’s worth knowing that:

* Melee and ranged attacks are divided into single-target and area-of-effect. Mental attacks - buffs and debuffs - can also be single-target or area-of-effect. Melee, ranged, and mental attacks that deal damage have a chance for a critical strike. Area-of-effect attacks cannot result in critical hits.

### Attack Sequence for PvE and PvP.

In PvE, mental attacks go first (area-of-effect, then single-target), then ranged attacks (area-of-effect, then single-target), then melee attacks. It’s worth noting that player attacks of each type have priority over mob/boss attacks of the same type.

**Example:** If both you and a boss use a melee attack, your attack will always be executed first.

In PvP, the rules are similar, but priority within the same attack type depends on who clicks the time bar sooner.

**Examples:** If you’re fighting against another player and both of you use a ranged attack, the player who clicked the time bar first will have priority. If you use a mental attack and your opponent uses a melee or ranged one, you’ll always have priority. If you’re using an area-of-effect ranged attack while your opponent uses a single-target one, you’ll always have priority.Of course, you can use various types of attacks each round - melee, ranged and mental ones (provided that your class has access to them).

### Targeting.

If there are many opponents, you need to choose which one of them to attack and mark it as the primary target for all your abilities. In order to change your target, click on a different member of the enemy team - you’ll see a red circle under them. The same is true about buffs, but you need to choose either yourself or one of your allies (there’ll be a green circle under your target). It’s worth noting that some buffs can only be cast on yourself. At the beginning of combat, your character and the topmost enemy are targeted by default.

*This may sound complicated, but it really isn’t - you’ll be proficient in no time. Besides… Take a look at the tutorial you’ll have to complete at the start of your adventure. It’ll make understanding the combat system much easier. We wish you a lot of fun and many victories in battles!*