more framework for spells
This commit is contained in:
parent
76c74df028
commit
02a4f33d11
8 changed files with 95 additions and 36 deletions
|
|
@ -200,9 +200,16 @@ pub struct KnownSpell {
|
|||
|
||||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct KnownSpells {
|
||||
pub spells: Vec<KnownSpell>,
|
||||
pub list: Vec<KnownSpell>,
|
||||
}
|
||||
|
||||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct GrantsSpell {
|
||||
pub spell: String,
|
||||
}
|
||||
|
||||
// TODO: GrantsIntrinsic, Intrinsics, etc. ? Done the same way as spells?
|
||||
|
||||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Attributes {
|
||||
pub strength: Attribute,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue