Enemy:Troll - Orhu/Summer2023Project GitHub Wiki
Overview
The troll is a bulky enemy that cannot attack the player directly. Constantly sleeping, trolls will only attack indirectly by throwing bubble projectiles all over the room.
Behaviors
Trolls will repeatedly use their Snore attack when it is off cooldown. They have no other behaviors.
Movement
Trolls do not move.
Attacks
Snore
Snore spawns three bubble projectiles that bounce off walls and gradually slow down throughout their lifetime (starting with a velocity of 3 tiles/s which decays to 0 tiles/s over the course of 1 second). Bubbles deal damage to the player if they make contact with them and do not affect enemies.
Special
The troll has no special behaviors.
Graphical representation of AI behavior
[Insert decision tree diagram here]
Sprite Gallery
[Insert sprites and animations here]