marouen-lamiri / Second-Soul

Unity-Game
2 stars 0 forks source link

Heal character with potion #67

Closed marouen-lamiri closed 9 years ago

marouen-lamiri commented 9 years ago

As a user, I want to be able to heal my character with a healing potion

[SP: 2] [Priority: 3] [Risk: low]

marouen-lamiri commented 9 years ago

Task 1: Discuss with Team how it should look like (0.25h) Task 2: #64 US 1.6: Manipulate inventory needs to be completed beforehand (3~5 days) Task 3: Implementation (1 days,broken down more further ahead)

marouen-lamiri commented 9 years ago

Implementation breakdown: Task 1: Have US #64 #65 completed Task 2: Assign to Item health potion its effect (heal character) (1h) Task 3: Use item through inventory system #64 #65 (0.25h) Task 4: Delete item after usage (0.5h)

marouen-lamiri commented 9 years ago

The Test below are done in the US #64 as the stories are inter-related, the tests number indicate what test they are in that User Story

Tests # Inputs Expected Output Status
8: Use Health Position (related to test 3) #67 Click on item, move it and click the space bar Health restored Pass
12: Use Item while in combat Click on item, move it and click the space bar Item used Pass
marouen-lamiri commented 9 years ago

Demo Steps: Step 1: Get hit by an enemy (to be able to see your health being restored) Step 2: Open inventory Step 3: Click on Health Potion with the mouse and press the Space bar Step 4: Close Inventory

Kishor0122 commented 9 years ago

Health regenerates on potion use and level up. Signing off