Defending

## Basic Info

* The game is called King of ***Thieves*** so of course people can steal your Coins and Gems
* Attackers will have to go through your Dungeon layout which you have 3 Traps laid out wherever you place them on a grid
* The attackers then have to get to your totem
* The attackers must be in the same Pool as you to attack
* Both the Totem placement and Entrance Placement are customizable

* People can only attack your base if you are offline for about 1 min or more
* They will have to use Keys to break into your base with the amount of keyholes you have being based on the level of your
* If you are afk the game will boot you offline until you either press the reconnect button or restart the app
* Keep in mind if you try to stay online forever the game will detect this after 9 hours and will kick you offline for 3 hours
	+ *If you are offline for 3 hours this timer resets*
* After being attacked you will gain a shield for 45mins so nobody can attack your base in that time

### **Skulls**

For each death in your dungeon an attacker gets it gives you one skull which when clicked on will give you a default amount of 20 gold but with the *Skull Gold Bonus* Tower upgrade you can get up to 680 gold with the max level upgrade

#### *Notes*

* *When creating a defense remember that when an attacker dies 7 times the trap that has done the most damage will be disabled so make sure your main trap that kills your attacker is high level*
* *Remember Potions Exist and clever thieves will use them to their advantage, especially the disable trap potion*
	+ Don't worry though you can test out your dungeon with potions for free in the editor where it says ***[Test It]***
* When Upgrading Traps they will be disabled to attackers so it's advised to not run Rituals when upgrading traps unless you have high faith in a 2 or 1 trap set-up

## Defense Logs

The defense logs show a lot of useful information such as the user who raided you. the amount they took, the amount of stars they had when completing your base, potions used, keys used, deaths, and most importantly a Replay

Watching a replay can show where your base's weaknesses are and the direct path the attacker took to get to your totem

You can also take revenge against the attacker if they are not online or not under a shield

* Keep in mind when you revenge any gems above 50k value will become ~10k value gems making revenging usually not worth it

Here are revenge logs from Before Level 51 (Small Pool) and after hitting level 51 (Big Pool)

## How to make good Dungeons

### Good Dungeons

* Can not be easily fluked or read easily usually meaning the attackers gets 0-3 deaths
	+ Keep in mind that Solver Potions exist though and reveal the path to complete the dungeon
* Based on very tight timings and strategies
* Cannot be easily completed when disabling a trap
	+ Even better if it's still a challenge to defeat when disabling two traps
* Here is a website that shows many good layouts for every Dungeon and many examples of very well defended dungeons: https://g3cd.com/
	+ These go very in depth and even show where exactly to jump, how to use potions in these dungeons, and then mistakes that lead to dying

## Dungeon Examples

***Note: These may take awhile to load***

```

```