Attack

An **Attack** is a way of doing damage to an enemy that is active. There are multiple different types of attacks in *UnderMine*

The main types that the peasant uses are: Swing, Throw, and Bomb.

However, there are secondary elemental attacks including: Lightning, Fire, and Poison.

## Swing

Swing attacks are performed by pressing the left click on a mouse, or the  on a controller (see How to play guide for UnderMine#Controls for more information on key bindings).

The Swing attack is a heavy melee that is balanced at default strats to do more damage than a throw and less damage than a bomb. This additional damage comes at the cost of time as an animation of the player swinging will play.

### Swing Throw

An interesting note about the swing animation, is that this game allow the player to perform an animation cancel if they choose to throw mid swing. This can lead to a massive dps boost if the player is close to the enemy they are attacking because when the throw the pickaxe will bounce off the enmemy being picked up by the player nearly immediately leading into another swing, chaining this will have the effect of doing both swing and throw damage in aproximately the time it takes to do a normal swing.

## Throw

Throw attacks are preformed by pressing the right click on a mouse or the  on a controller (see How to play guide for UnderMine#Controls for more information on key bindings).

These attacks are a light ranged attack that can be done outside of melee attack range of most enemies. This attack can go in any direction around the player, and as such it is the most versitle, it even goes between the main cardinal directions.

## Bomb

Bomb attacks are preformed by pressing the R on a keyboard or the  on a controller (see How to play guide for UnderMine#Controls for more information on key bindings).

The bomb attack is the strongest attack by far at base stats, however it is not very versitle for most players as once you place it typically doesnt move very much.

### Bomb Batting

Bomb Batting is a skill that takes much practice to perfect. A basic bomb bat will consist of a player hitting a bomb right after playing it, without moving the bomb will go in a arc that is straight in the cartesian direction it was dropped in. However more precise hits can be atained hitting the bomb at an angle allows the player to effectively hit the bomb in a radius around them if they line it up correctly.

Another interesting aspect about bomb batting is that you can get backward momentum on a bomb by throwing a pickaxe at a bomb, this will give the bomb some momentum roughly in the direction of the player.

## Secondary Attacks

All Secondary attacks have their own color associated with them, and this color will be the color of the damage number that comes off of the enemy when its hit, indicating that a second attack landed.

### Lightning

Lightning is Blue, and will arc off in the direction of other enemies, causing a chain effect.
This is typically a really good attack for clearing large groups of enemies as you can hit multiple enemies at once with these attacks.

### Fire and Poison

Fire is Red, and Posion is Green.
These attack are both dammage over time attacks if you manage to give an enemy this type of status effect they will recieve multiple hits of a low damage.