Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Team 4] MobAttackTask Class #77

Closed
7 tasks done
meganroxburgh opened this issue Aug 31, 2023 · 0 comments
Closed
7 tasks done

[Team 4] MobAttackTask Class #77

meganroxburgh opened this issue Aug 31, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation sprint 2 task team 4

Comments

@meganroxburgh
Copy link
Contributor

meganroxburgh commented Aug 31, 2023

Description

Task: MobAttackTask Class.
Feature: General Mobs Improvement

This task will extend the work previously done on the ShootTask class. This task will be assigned to general NPC mobs and will constantly check how far away they are from the closest tower to them in their current lane. If they are immediately in front of a tower, a randomised weapon will be picked and the TouchAttackComponent class will be called to attack the tower. If they are some distance away from the tower, they will shoot a randomised projectile at the tower. Both of these attack actions will cause the tower to take damage.

Example (optional)

  • Different mobs may have different abilities (projectiles and weapons) that can either be randomised, or set to particular defaults. Based on the abilities the Enemy has, it will select the correct weapon to attack the target with based on the distance to the target.

Dependencies

  • Work with the projectiles team to implement their base class (also consult with towers team as they have already implemented this feature)

Milestones

List of steps that need to be completed for this task.

  • Implement the existing projectiles class to shoot projectiles when the player moves in range of the mob (Sept. 2)
  • Wiki documentation for implementing the projectiles (Sept. 11)
  • Shoot Projectile when in range of a tower (Sept. 3)
  • Implement the melee attack when directly in front of a tower (Sept. 4)
  • Wiki documentation for melee attack (Sept. 11)
  • Tidy all wiki documentation and combine any relevant details (Sept. 11)

Completion Deadline: Monday Sept. 11th

Documentation

Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation sprint 2 task team 4
Projects
Development

No branches or pull requests

2 participants