Actions
Task #246
closedUser Story #351: Items
Consumable Items
Start date:
02/10/2025
Due date:
% Done:
0%
Estimated time:
2:00 h
Story Points:
1
Difficulty:
Low
Blocked:
No
Sprint:
Description
User Story¶
As a player, I want to store and use consumable items, so that I can restore health, replenish mana, or gain temporary buffs when needed.
Description¶
- Health Potions restore HP, while Mana Potions restore MP when used.
- Some consumables provide temporary buffs (e.g., increased damage, resistance to elements).
- Consumables can be used from the inventory or assigned to a quick-use slot.
- Health and Mana can also be picked up as instant-use items.
Test Cases¶
- Verify that consumables are correctly stored in the inventory upon collection.
- Ensure that using a health/mana potion restores the correct amount of HP/MP.
- Confirm that buff-based consumables apply the correct effects for the intended duration.
- Validate that consumed items are removed from the inventory after use.
- Ensure that players can assign consumables to a quick-use slot if applicable.
Actions