Monkey - UQcsse3200/2024-studio-2 GitHub Wiki

Overview

The Monkey NPC is an advanced enemy NPC that is extremely swift and agile enemy, inhabiting the Land Kingdom. It's a cheeky enemy that runs away from you and annoys you by throwing bananas that deal a small amount of damage. It has a speed of 3 units and moves very quickly and erratically, making it a formidable enemy. Its high speed and agility allow it to swiftly evade enemies. To defeat them in combat the player needs to catch them first. However, despite its speed it's health bar is relatively low.

image

Special Attack

The monkey has a unique feature implemented during general map exploration gameplay. This special feature is allows it to throw bananas at the player when it detects that it is within range, trying to weaken the player before entering combat with it, or other enemies so they stand a higher chance of winning.This adds an extra layer of challenge to the game and keeping the player entertained.

Special Attack Details

image

  • Throwing Range: 5 units

  • Damage: 1 per banana

  • Effect: If the player is within the throwing range, the monkey throws bananas at them while running away

  • Counterplay: Players must stay outside the pull range or tank the damage ig

Enemy Stats

Enemy Monkey NPC stats are defined in an NPC.json file which are loaded into the game using the FileLoader class.

  • Health : 8
  • Base Attack : 2
  • Base Defense : 1
  • Speed : 3