add AccessLevel stuff to charactersheet trait
This commit is contained in:
parent
0eaffc9a8f
commit
473161674f
5 changed files with 77 additions and 32 deletions
|
@ -9,6 +9,7 @@ use entry::{Entry, Weapon};
|
|||
pub struct Pathfinder2rCharacterSheet {
|
||||
// Genral stuff
|
||||
#[Input("Name")]
|
||||
#[Access(World)]
|
||||
name: String,
|
||||
#[Input("Weapons")]
|
||||
#[InputExpr(set_items, get_items)]
|
||||
|
@ -30,6 +31,7 @@ pub struct Pathfinder2rCharacterSheet {
|
|||
// Skills
|
||||
#[Seperator]
|
||||
#[Field("Acrobatics")]
|
||||
#[Access(PartyMember)]
|
||||
#[FieldExpr(self.dex + self.acrobatics_prof * 2)]
|
||||
_acro: i32,
|
||||
#[Input("Acrobatics Prof")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue