InflictsDamage and ProvidesHealing now use dice rolls
This commit is contained in:
parent
3474a782d7
commit
e8084b8975
6 changed files with 31 additions and 22 deletions
|
|
@ -311,12 +311,16 @@ pub struct Cursed {}
|
|||
|
||||
#[derive(Component, Debug, ConvertSaveload, Clone)]
|
||||
pub struct ProvidesHealing {
|
||||
pub amount: i32,
|
||||
pub n_dice: i32,
|
||||
pub sides: i32,
|
||||
pub modifier: i32,
|
||||
}
|
||||
|
||||
#[derive(Component, Debug, ConvertSaveload, Clone)]
|
||||
pub struct InflictsDamage {
|
||||
pub amount: i32,
|
||||
pub n_dice: i32,
|
||||
pub sides: i32,
|
||||
pub modifier: i32,
|
||||
}
|
||||
|
||||
#[derive(Component, Debug, ConvertSaveload, Clone)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue