Actions
Task ARCH-4
closedEpic ARCH-149: Player Actions / Interactivity
Player Range / Base Magic Attack
Status:
Done
Assignee:
Priority:
Medium
Parent task:
Due date:
Start date:
02/10/2025
Sprint:
-
Estimated time:
1:00 h
Target version:
Category:
Player Actions / Interactivity
Story point estimate:
-
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