Bear - UQcsse3200/2024-studio-2 GitHub Wiki

Overview

The Bear NPC is a true force of nature, a foe seldom trifled with and for good reason. It reigns supreme as the strongest enemy NPC in the forest biome due to it's well-rounded characteristics: high health and defense, with moderate strength. Fortunately for you, the bear spawns less frequently than other enemies and boasts less than average speed, meaning it is easier to run away from.

Special Interaction

The bear has a unique feature implemented during general map exploration gameplay. This special feature is allows it to not attack the player if player stand still, adding an extra layer of challenge to the game and keeping the player entertained.

https://github.com/user-attachments/assets/36edc10b-0f6b-4cac-9e88-49956e34d2ef

Enemy Stats

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

  • Health : 15
  • Base Attack : 10
  • Base Defense : 15
  • Speed : 75
  • Experience : 100