Frog - UQcsse3200/2024-studio-2 GitHub Wiki
Overview
The Frog NPC is a slower enemy NPC that inhabits the Land Kingdom, that is easier to run away from and avoid - suitable for newer players who are getting used to the game and surviving enemy NPCs. With a speed of 0.5 units, it moves at a pace, making it one of the slower enemies in the kingdom. To make up for its lack of speed, it has the ability to close the distance between the player and itself by lassoing with its tongue if you're within the range.
Special Attack
The Frog NPC possesses a unique Pull Attack, which allows it to drag players within its range closer to initiate combat and disrupting positioning. This attack is particularly dangerous for players who get too close and are trying to avoid combat or maneuver around obstacles. When a player enters the frog's Pull Range, the Frog quickly extends its tongue to latch onto the player and pull them towards it. This ability makes it more challenging to maintain distance from the Frog, especially in tight spaces, forcing players into combat.
Special Attack Mechanics
-
Pull Range: 3 units
-
Damage: 0
-
Effect: If the player is within the pull range, the Frog's attack initiates, pulling the player directly towards the Frog's position
-
Cooldown: No cooldown, but the frog's pull attempt is almost always successful
-
Counterplay: Players must stay outside the pull range or use defensive abilities to break free if pulled... Good luck with the latter!
Enemy Stats
Enemy frog NPC stats are defined in an NPC.json file which are loaded into the game using the FileLoader class.
- Health : 15
- Base Attack : 2
- Base Defense : 1
- Speed : 0.5