Octopus - UQcsse3200/2024-studio-2 GitHub Wiki
Overview
The Octopus NPC is a formidable enemy residing in the Water Kingdom. This massive aquatic creature is known for its powerful and aggressive nature, making it a significant challenge for players. It's a big, tanky creature adept at navigating underwater environments, using its strength and defences to overwhelm those who target it.
Special Attack
Similar to the Frog NPC, the Octopus also features a Pull Attack, allowing it to drag players within its range closer, disrupting their movement. This attack is especially dangerous for players who stray too near while attempting to evade combat or navigate around obstacles. Once a player enters the Octopus's Pull Range, the creature quickly extends its tentacles to grab the player and pull them toward it. This ability makes it harder for players to maintain distance, particularly in confined areas, basically forcing them into battle.
Special Attack Stats
- Pull Range: 4 units
- Effect: If the player is within the pull range, the octopus attack initiates, pulling the player directly towards the octopus
- Cooldown: There is no cool down effect, however, usually the pull attack is only performed once as the octopus is so strong that it is almost always successful in pulling the player
- Counterplay: Players must stay outside the pull range or use defensive abilities to break free if pulled
Enemy Stats
The Octopus NPC's stats are defined in an NPC.json file, which is loaded into the game using the FileLoader class.
- Health: 8
- Base Attack: 2
- Base Defense: 5
- Speed: 170
- Experience: 15