adamkali / adamkali/MiraculousKingdom

Add RollRequest

未關閉
#21 0 則留言 0 個 reaction 已指派 0 人 已被 @adamkali 認領 在 GitHub 檢視
主要語言
Rust
星號
1
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

The roll request will look something like this:
```rust
pub struct RollRequest {
pub roll_owner String,
pub roll_ability Ability,
pub rolls Vec,
pub roll_chars Character,
}
```
and roll
```rust
pub struct Roll {
pub roll MightStat,
pub roll_character Character,
}
```

so we need

- [x] a roll struct
- [x] a roll request
- [x] add the roll request to the queue
- [x] a method to take in the request for characters who need to roll that sends back the request in the queue
- [x] a method to resolve the request
- [ ] a modal to hold the character select for the roll by the owner
- [ ] a modal for the people to roll when submitting the queue.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。