-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem
The game is missing a 'Block' ability button that players need for defensive gameplay.
Current State
- No Block ability exists in the current ability system
- Warrior class has ShieldWall (defensive buff) but no dedicated Block action
- Ability enum and metadata would need to be updated once smart contract supports it
Dependencies
Proposed Implementation (once contract is ready)
- Add Block to Ability enum in
src/types/domain/enums.ts
- Update ability metadata in
src/data/abilities.ts
with:- Name: "Block"
- Description: "Reduce incoming damage for the next turn"
- requiresTarget: false
- Add ability button to the UI with appropriate icon
- Handle cooldown and ability stages if applicable
Files to Update
src/types/domain/enums.ts
- Add Block to Ability enumsrc/data/abilities.ts
- Add Block metadatasrc/components/game/controls/AbilityButton.tsx
- Handle Block ability icon/styling- Contract ABI files once updated
Acceptance Criteria
- Block ability appears in the ability bar
- Block ability has appropriate icon and tooltip
- Block ability correctly interacts with the smart contract
- Cooldowns and stages work as designed
- Visual feedback when Block is active
Context
Feedback from Alex FastLane: Players need a Block ability for defensive gameplay options.
Note: Frontend work blocked until smart contract implementation is complete.
Labels: by-claude, enhancement, blocked, contract-dependency
Metadata
Metadata
Assignees
Labels
No labels