Spiky Ball Trap

Spiky Ball Traps are a type of trap that can be found naturally in the Jungle Temple.
When activated, the traps dispense orange spiky balls that bounce several times, dealing around 90 damage to players (for which the damage is doubled) and around 40 for enemies. They have a cooldown of 5 / 4 seconds.
 Spiky Ball Traps can be rotated 90° with a hammer.
== Spawn limits ==
Before the trap spawns a spiky ball, the game goes through every spiky ball in the world, and adds up their "effect" on the trap based on the pixel distance between the trap's center and the spiky ball's center (a tile is 16×16 pixels). A spiky ball's effect is:
Effect	Distancein pixels
50 	0–50
15 	50–100
10 	100–200
8 	200–300
6 	300–400
5 	400–500
4 	500–700
3 	700–900
2 	900–1200
1 	>1200
Add the "effect" up and if the sum is less than 200 (not equal), the spiky ball can spawn.
== Notes ==
* Damage to players is doubled, stack with the double effect of Expert Mode, yielding 4 times of damage.
* If there are at least two blocks directly under the trap, the ball will be ejected up rather than dropping down.
* Only bounces off solid blocks, not platforms.
* If there is just one block beneath a Trap, the ball will go straight through the block. Therefore, you can set up two rows of Spiky Ball Traps on top of each other and double the number of balls falling down on every activation.
* In 1.3 there is a cap for Spiky Balls being allowed at once. It is not a definite value, but rather like the mechanics for the Statue spawns (at most 3 spawns in a small region, 6 in a medium region and 10 in the whole world), although it is more complicated.
== Tips ==
* Effective for home defense, especially while using enemy-triggered Pressure Plates.
* While not as effective as Spear Traps, they are still very effective for farming enemies.
== History ==
== References ==