8000 Positive Event: Player should recieve immunity buff when an exam is completed. · Issue #4 · zoey-ahmed-uni/maze-game · GitHub
[go: up one dir, main page]

Skip to content

Positive Event: Player should recieve immunity buff when an exam is completed. #4

Open

Description

@zoey-ahmed-uni

One of our positive events will allow the player to receive immunity from attacks for a short duration of time if they get the question in the dialog right.

This should only trigger if the player gets the question right, otherwise see #8 if the player gets the question wrong.

Checklist items for immunity event:

  • Implement question dialog when an exam is complete.
  • Create a new interface for player effects (immunity, hurt, slowed down/speed boosted e.t.c.)
  • Create a new class for applying immunity to the player.
    • Check if the player has immunity before dealing any damage.
    • Put immunity on a 10 second timer.
    • Only apply effect once the question in the exam dialog is correct.
  • Add unit tests for immunity class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or requestHelp WantedExtra attention is neededPositive EventOne of 3 positive events.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0