Slime AI

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

Behavior
Slimes exhibit the following behavior:


 * Chase the player by jumping towards them
 * Float on water
 * Jump up to higher Wood Platforms, but can not drop down them
 * Take damage from Lava, except the Lava Slime
 * Suffer knockback

Strategies
Slimes jiggle up and down slightly, which becomes faster when the are about to jump. It is a good idea to attack just after they land, as you'll have a few seconds before they jump again. Once you see them jiggling extremely fast again, retreat and attack again after they land.