Project

General

Profile

Actions

Task #86

closed

User Story #333: Player Actions / Interactivity

Player Range / Base Magic Attack

Added by Kenneth Schuetz 3 months ago. Updated 3 months ago.

Status:
Done
Priority:
Medium
Assignee:
Category:
Player Actions / Interactivity
Target version:
Start date:
02/10/2025
Due date:
% Done:

100%

Estimated time:
1:00 h
Story Points:
0.5
Difficulty:
Low
Blocked:
No

Description

User Story

As a player, I want to perform a basic magic attack, so that I can deal damage without consuming large amounts of mana.

Description

  • Players can fires a basic ranged magic attack with a low mana cost or no mana cost.
  • The attack has limited range and moderate damage.
  • The projectile speed is moderate, and it may be affected by the player’s elemental affinity.
  • The play can rapid-fire basic attack but with a slight delay

Controls

  • Left Mouse Buttons (LMB) -> Fire Basic Magic Attacks
  • R (Reload/Recharge if needed, or manual spell switch if applicable)
  • 1-4 (Numer Keys -> Switch base magic element (if elements affect the base attack)

Test Cases

Verify that pressing LMB (Left Mouse Button) launces a basic magic projectile.
Ensure the projectile moves in the correct direction based on the player's aiming (mouse cursor location).
Confirm that the projectile collides with enemies and deals damage.
Validate that the projectile disappears upon impact or after traveling a set distance.
Check that basic attacks can be used even when mana is low (if applicable)
Ensure that rapid-firing basic attacks is possible but has a built-in delay.
Verify that pressing 1-4 switches base magic elements if implemented.

Actions

Also available in: Atom PDF