Slime AI

Slime AI is an AI followed by every Slime in the game.

Behavior
Slimes typically perform the following actions:


 * chase the player by jumping towards them
 * float on water
 * jump up to higher Wood Platforms (but not drop down)
 * take damage from lava
 * suffer knockback

Strategies
Before jumping, Slimes shift up and down slightly. This shifting gets faster until they eventually jump. After they have landed from jumping, it is a good idea to attack as it'll be a few seconds before they jump again. Once you see them shifting extremely fast again, retreat, and attack after they land again. This is a good tactic to remember as it can drastically help you when fighting Slimes.