KiddDaniel / avatar-twitch-bot

MIT License
3 stars 2 forks source link

Fight Mechanic #16

Open paifgx opened 3 years ago

paifgx commented 3 years ago

User Story

As a Participant in a Fight I want to be paired with a opposing participant So that I can fight with him/her/it

Acceptance Criteria

Given I’m a player When I’m joining a fight Then I be added to a battle queue

Given the join phase When the time is up Then the battle queue should be closed And the battle queue should be randomized

Given I’m a player When I’m in a battle queue Then I want to be paired with an opponent

Given I’m a player When I am paired with an opponent Then I want to duell him/her/it according to the battle rules

Given I’m a player When i win my duell Then I join back to the battle queue

Given a fight When one of the battle queues is empty with no active duells Then the fight is finished And the remaining side is announced as the winner

Battle Rules (fun ones/ (not?) to implement)

If a dev is killed, he receives the HP of his Opponent and he/she/it is will die instead

Battle Rules (true ones)

The Player with the higher Initiative attacks first Damage Dealing Structure: Each attack made sends the calculated damage to its opponent The attacked participant can dodge the attack by the calculated percentage The damage can be halved with a probability given by toughness in percentage Reduce the HP by the remaining damage Each Attack made by a player reduced the BE of that player by level * 0.1 If a Participant falls to 0 HP the duell is over

KiddDaniel commented 2 years ago

Are HP and Bending Energy restored each time a player enter the battle queue again?