Sloth

> "*Before you lays Sloth, an artificial Elemental Spirit born of Pandora's laxness.*"
>
>
>

**Sloth** is the sixth challenge on *The Corrupted Seven* challenge board.

## Attacks

All of Sloth's attacks deal Nature damage.

1. Sloth's bodies both fall asleep.
	* *Sloth falls asleep and heals!*
	* Sets Sloth's state to Asleep.
	* Heals itself for 20% of its maximum HP.
2. Sloth's male body binds its target with vines.
	* Heals itself for 4% of its maximum HP.
	* Attacks for 4 hits of 100% Nature Pierce damage (400% total).
	* Inflicts 'Entangled' for 2 turns, a stun.
3. Sloth's female body shoots rocks at its target.
	* Heals itself for 2% of its maximum HP.
	* Attacks for 16 hits of 25% Nature Pierce damage (400% total).
4. Sloth's bodies clasp their free hands together.
	* *'Let us rest!'*
	* *'I don't want to fight today...'*
	* Sets Sloth's state to Awake.
	* Applies 'Sloth's Action' for the next 5 turns.
		+ +100 Bonus.
		+ +50 Boost.
5. Sloth's bodies summon a bow and fire an arrow at its target.
	* Randomly sets Sloth's state to Male or Female.
	* Attacks for 1 hit of 600% Nature Pierce damage.

## Mechanics

* Sloth's attacks are dependent on its **state** and how much HP it lost between attacks.
* Sloth's state can occupy 1 of 4 values: Asleep, Awake, Male, or Female. It starts the battle in Asleep state.
	+ Sloth's state is telegraphed by whether or not its heads are asleep.
		- For example, if both female and male heads are awake, Sloth is in Awake state and will use Attack 5 next.
	+ If Sloth receives a hit while in Asleep state, it randomly sets its state to Male or Female.
		- There is a visual bug where Sloth's bodies will both still appear to be asleep. This seems to only happen for Sloth's first Asleep state.
	+ If Sloth receives a hit while in Male state, it sets its state to Female.
		- *'I can't take it anymore.'*
		- *'My turn.'*
	+ If Sloth receives a hit while in Female state, it sets its state to Male.
		- *'If I must.'*
		- *'I'll just close my eyes for a moment.'*
	+ Sloth's state can only be updated once between its attacks.
* Every turn Sloth attacks, it compares its current HP with its HP at the start of its previous turn to choose its next attack.
	+ On its first turn, Sloth compares its current HP to its maximum HP.
	+ Sloth records its past HP before any healing is applied, meaning its heals count against enraging and using Attack 4.
	+ Indirect damage from DoTs and reflects is counted, but direct damage that targets MP is not.
* Let X = [Past HP] - [Current HP], L = [Sloth's Level], T = [# of times Sloth has switched between Male and Female state].
	+ If X < 2L, Sloth will use Attack 1.
	+ If 2L <= X <= 12L - 10T, Sloth will use Attack 2 in Male state and Attack 3 in Female state.
	+ If 12L < X, Sloth will use Attack 4.
	+ If Sloth is in Awake state, it will always use Attack 5, regardless of how much damage it received.
	+ When 'Sloth's Action' expires, dealing more than 12L - 10T damage will cause Sloth to use Attack 5 once (unbuffed) before using Attack 4 again.
* At level 90:
	+ Sloth will use Attack 1 if it loses less than 180 HP.
	+ Sloth will enrage and use Attack 4 and Attack 5 if it loses more than 1080 - 10T HP.
	+ Otherwise, Sloth will alternate between Attack 2 and Attack 3.

## Resistances

* Shrink: 200
* Immobility: 200