pf2e-sage-stats 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,114 +14,123 @@ sage! macro set name="spell" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}
14
14
  ```
15
15
  ### Saves
16
16
  ```
17
- sage! macro set name="fort" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::fortitude:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::fortitude.info:} Fortitude Save {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Saves tier=Server -y
17
+ sage! macro set name="save" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::{0}:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::{0}.info:} {0} Save {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Saves tier=Server -y
18
18
  ```
19
19
  ```
20
- sage! macro set name="fortitude" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::fortitude:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::fortitude.info:} Fortitude Save {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Saves tier=Server -y
20
+ sage! macro set name="fort" dice="[save Fortitude {...}]" cat=Saves tier=Server -y
21
21
  ```
22
22
  ```
23
- sage! macro set name="ref" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::reflex:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::reflex.info:} Reflex Save {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Saves tier=Server -y
23
+ sage! macro set name="fortitude" dice="[save Fortitude {...}]" cat=Saves tier=Server -y
24
24
  ```
25
25
  ```
26
- sage! macro set name="reflex" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::reflex:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::reflex.info:} Reflex Save {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Saves tier=Server -y
26
+ sage! macro set name="ref" dice="[save Reflex {...}]" cat=Saves tier=Server -y
27
27
  ```
28
28
  ```
29
- sage! macro set name="will" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::will:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::will.info:} Will Save {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Saves tier=Server -y
29
+ sage! macro set name="reflex" dice="[save Reflex {...}]" cat=Saves tier=Server -y
30
30
  ```
31
- ### Initiative
32
31
  ```
33
- sage! macro set name="init" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::{s:Perception}:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::initiative.info:} Initiative `({s:Perception}) `{...}]" cat=Initiative tier=Server -y
32
+ sage! macro set name="will" dice="[save Will {...}]" cat=Saves tier=Server -y
34
33
  ```
34
+ ### Initiative
35
35
  ```
36
36
  sage! macro set name="initiative" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::{s:Perception}:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::initiative.info:} Initiative `({s:Perception}) `{...}]" cat=Initiative tier=Server -y
37
37
  ```
38
- ### Skills 1
39
38
  ```
40
- sage! macro set name="acrobatics" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::acrobatics:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::acrobatics.info:} Acrobatics Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
39
+ sage! macro set name="init" dice="[initiative {...}]" cat=Initiative tier=Server -y
41
40
  ```
41
+ ### Skills 1
42
42
  ```
43
- sage! macro set name="arcana" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::arcana:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::arcana.info:} Arcana Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
43
+ sage! macro set name="skill" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::{0}:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::{0}.info:} {0} Skill Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
44
44
  ```
45
45
  ```
46
- sage! macro set name="athletics" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::athletics:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::athletics.info:} Athletics Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
46
+ sage! macro set name="lore" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::lore.{0}:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::lore.{0}.info:} {{p}::lore.{0}.name:} Lore Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
47
47
  ```
48
48
  ```
49
- sage! macro set name="crafting" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::crafting:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::crafting.info:} Crafting Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
49
+ sage! macro set name="assurance" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} (10)d20+{0:0}-10 {v} {{p}::name:} Assurance Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
50
50
  ```
51
51
  ```
52
- sage! macro set name="craft" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::crafting:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::crafting.info:} Crafting Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
52
+ sage! macro set name="secret" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} d20+{{p}::{0}:{a:0}} {v} {{p}::name:} Secret {0} Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
53
53
  ```
54
54
  ### Skills 2
55
55
  ```
56
- sage! macro set name="deception" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::deception:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::deception.info:} Deception Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
56
+ sage! macro set name="acrobatics" dice="[skill Acrobatics {...}]" cat=Skills tier=Server -y
57
57
  ```
58
58
  ```
59
- sage! macro set name="diplomacy" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::diplomacy:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::diplomacy.info:} Diplomacy Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
59
+ sage! macro set name="arcana" dice="[skill Arcana {...}]" cat=Skills tier=Server -y
60
60
  ```
61
61
  ```
62
- sage! macro set name="intimidation" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::intimidation:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::intimidation.info:} Intimidation Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
62
+ sage! macro set name="athletics" dice="[skill Athletics {...}]" cat=Skills tier=Server -y
63
63
  ```
64
64
  ```
65
- sage! macro set name="medicine" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::medicine:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::medicine.info:} Medicine Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
65
+ sage! macro set name="crafting" dice="[skill Crafting {...}]" cat=Skills tier=Server -y
66
66
  ```
67
67
  ```
68
- sage! macro set name="nature" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::nature:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::nature.info:} Nature Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
68
+ sage! macro set name="craft" dice="[crafting {...}]" cat=Skills tier=Server -y
69
69
  ```
70
- ### Skills 3
71
70
  ```
72
- sage! macro set name="occultism" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::occultism:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::occultism.info:} Occultism Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
71
+ sage! macro set name="deception" dice="[skill Deception {...}]" cat=Skills tier=Server -y
73
72
  ```
74
73
  ```
75
- sage! macro set name="performance" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::performance:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::performance.info:} Performance Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
74
+ sage! macro set name="diplomacy" dice="[skill Diplomacy {...}]" cat=Skills tier=Server -y
76
75
  ```
77
76
  ```
78
- sage! macro set name="perfomance" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::performance:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::performance.info:} Performance Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
77
+ sage! macro set name="intimidation" dice="[skill Intimidation {...}]" cat=Skills tier=Server -y
79
78
  ```
80
79
  ```
81
- sage! macro set name="religion" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::religion:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::religion.info:} Religion Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
80
+ sage! macro set name="medicine" dice="[skill Medicine {...}]" cat=Skills tier=Server -y
82
81
  ```
83
82
  ```
84
- sage! macro set name="society" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::society:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::society.info:} Society Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
83
+ sage! macro set name="nature" dice="[skill Nature {...}]" cat=Skills tier=Server -y
85
84
  ```
86
- ### Skills 4
87
85
  ```
88
- sage! macro set name="stealth" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::stealth:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::stealth.info:} Stealth Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
86
+ sage! macro set name="occultism" dice="[skill Occultism {...}]" cat=Skills tier=Server -y
89
87
  ```
90
88
  ```
91
- sage! macro set name="survival" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::survival:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::survival.info:} Survival Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
89
+ sage! macro set name="performance" dice="[skill Performance {...}]" cat=Skills tier=Server -y
92
90
  ```
93
91
  ```
94
- sage! macro set name="thievery" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::thievery:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::thievery.info:} Thievery Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
92
+ sage! macro set name="perfomance" dice="[performance {...}]" cat=Skills tier=Server -y
95
93
  ```
96
94
  ```
97
- sage! macro set name="perception" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::perception:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::perception.info:} Perception Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
95
+ sage! macro set name="religion" dice="[skill Religion {...}]" cat=Skills tier=Server -y
98
96
  ```
99
97
  ```
100
- sage! macro set name="lore" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::lore.{0}:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::lore.{0}.info:} {{p}::lore.{0}.name:} Lore Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
98
+ sage! macro set name="society" dice="[skill Society {...}]" cat=Skills tier=Server -y
101
99
  ```
102
- ### Skills 5
103
100
  ```
104
- sage! macro set name="piloting" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::piloting:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::piloting.info:} Piloting Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
101
+ sage! macro set name="stealth" dice="[skill Stealth {...}]" cat=Skills tier=Server -y
105
102
  ```
106
103
  ```
107
- sage! macro set name="computers" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::computers:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::computers.info:} Computers Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
104
+ sage! macro set name="survival" dice="[skill Survival {...}]" cat=Skills tier=Server -y
108
105
  ```
109
106
  ```
110
- sage! macro set name="assurance" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} (10)d20+{0:0}-10 {v} {{p}::name:} Assurance Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
107
+ sage! macro set name="thievery" dice="[skill Thievery {...}]" cat=Skills tier=Server -y
111
108
  ```
112
109
  ```
113
- sage! macro set name="skill" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} d20+{0:0} {v} {{p}::name:} Skill Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
110
+ sage! macro set name="perception" dice="[skill Perception {...}]" cat=Skills tier=Server -y
114
111
  ```
115
112
  ```
116
- sage! macro set name="secret" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} d20+{{p}::{0}:{a:0}} {v} {{p}::name:} Secret {0} Check {utils::{t:known}:vs} {{t:none}::name:} {utils::{t:known}:`{r:Spell} DC ({c:+0} DC) `} {dc} {utils::{t:known}:dc} {{t:none}::dc.{r:spells}:} {c} {...}]" cat=Skills tier=Server -y
113
+ sage! macro set name="piloting" dice="[skill Piloting {...}]" cat=Skills tier=Server -y
114
+ ```
115
+ ```
116
+ sage! macro set name="computers" dice="[skill Computers {...}]" cat=Skills tier=Server -y
117
+ ```
118
+ ### Actions
119
+ ```
120
+ sage! macro set name="demoralize" category="Actions" dice="[intimidation r=Will {...}]" tier=Server -y
121
+ ```
122
+ ```
123
+ sage! macro set name="grapple" category="Actions" dice="[athletics r=Fortitude {...}]" tier=Server -y
124
+ ```
117
125
  ```
118
- ### Legacy
126
+ sage! macro set name="trip" category="Actions" dice="[athletics r=Reflex {...}]" tier=Server -y
119
127
  ```
120
- sage! macro set name="mstrike" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::melee.{s:default}:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::melee.{s:default}.desc:} vs {{0}::name:} `({c:+0} AC) ` ac {{0}::{r:ac}:} {c} {{p}::melee.{s:default}.damage:} {...}]" cat=Strikes tier=Server -y
121
128
  ```
129
+ sage! macro set name="shove" category="Actions" dice="[athletics r=Fortitude {...}]" tier=Server -y
122
130
  ```
123
- sage! macro set name="rstrike" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::ranged.{s:default}:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) {{p}::ranged.{s:default}.desc:} vs {{0}::name:} `({c:+0} AC) ` ac {{0}::{r:ac}:} {c} {{p}::ranged.{s:default}.damage:} {...}]" cat=Strikes tier=Server -y
124
131
  ```
132
+ sage! macro set name="disarm" category="Actions" dice="[athletics r=Reflex {...}]" tier=Server -y
125
133
  ```
126
- sage! macro set name="sstrike" dice="[{{p}::{o:out}:{o:m}} {x} {flat::{f:none}:{f}} {dice::{d:none}:{d:1}}d20+{{p}::spells:{a:0}} {m} {v} {{p}::name:} (mod `{m:+0}`) Spell Attack vs {{0}::name:} `({c:+0} AC) ` ac {{0}::{r:ac}:} {c} {...}]" cat=Strikes tier=Server -y
127
134
  ```
135
+ sage! macro set name="feint" category="Actions" dice="[deception r=Preception {...}]" tier=Server -y
136
+ ```
package/dist/app.js CHANGED
@@ -291,18 +291,19 @@ const locateStrikes = (statblock, alias) => {
291
291
  .replace(/\s+/g, ' ')
292
292
  .replace(bps, (m) => m.toUpperCase())
293
293
  .replace(/1d/, 'd')
294
- .replace(/jousting\s+d\d+/g, 'jousting')
294
+ .replace(/jousting\s+d(\d+)/g, 'jousting-$1')
295
+ .replace(/boost\s+d(\d+)/g, 'boost-$1')
295
296
  .trim();
296
297
  const _dice = dice
297
298
  .replace(/\s+/g, ' ')
298
299
  .replace(bps, (m) => { var _a; return ((_a = { b: 'bludgeoning', p: 'piercing', s: 'slashing' }[m.toLowerCase()]) !== null && _a !== void 0 ? _a : m); })
299
- .replace(/Fire/, 'fire')
300
- .replace(/Cold/, 'cold')
301
- .replace(/Electricity/, 'electricity')
302
- .replace(/Sonic/, 'sonic')
303
- .replace(/Spirit/, 'spirit')
304
- .replace(/Acid/, 'acid')
305
- .replace(/[pP]lus\s(\d+d)/, '+$1')
300
+ .replace(/Fire/g, 'fire')
301
+ .replace(/Cold/g, 'cold')
302
+ .replace(/Electricity/g, 'electricity')
303
+ .replace(/Sonic/g, 'sonic')
304
+ .replace(/Spirit/g, 'spirit')
305
+ .replace(/Acid/g, 'acid')
306
+ .replace(/[pP]lus\s(\d+d)/g, '+$1')
306
307
  .trim();
307
308
  const twoHand = _traits.match(/(two-hand|two-handed)\s+(d\d+)/);
308
309
  if (twoHand && twoHand[2]) {
@@ -465,7 +466,7 @@ const flatten = (stats, secretDC = false, defaultSkills = false) => {
465
466
  ] : []),
466
467
  ...(0, lodash_1.entries)(saveInfo).filter(([, v]) => v.length > 0).map(([k, v]) => [`${k}.info`, `\`(${v.join(', ')})\``]),
467
468
  ...(0, lodash_1.entries)(skillInfo).filter(([, v]) => v.length > 0).map(([k, v]) => [`${k}.info`, `\`(${v.join(', ')})\``]),
468
- ['out', secretDC ? 'xs' : 'm'],
469
+ ['out', secretDC ? 'xs' : 'l'],
469
470
  ].reduce((p, [key, value]) => { p[key] = value; return p; }, {});
470
471
  };
471
472
  exports.flatten = flatten;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pf2e-sage-stats",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "An RPG Sage's .tsv stat generation tool",
5
5
  "main": "dist/index.js",
6
6
  "author": "ikariott@gmail.com",
package/src/app.ts CHANGED
@@ -336,19 +336,20 @@ const locateStrikes = (statblock: string, alias: string): Record<string, Schema[
336
336
  .replace(/\s+/g, ' ')
337
337
  .replace(bps, (m) => m.toUpperCase())
338
338
  .replace(/1d/, 'd')
339
- .replace(/jousting\s+d\d+/g, 'jousting')
339
+ .replace(/jousting\s+d(\d+)/g, 'jousting-$1')
340
+ .replace(/boost\s+d(\d+)/g, 'boost-$1')
340
341
  .trim();
341
342
 
342
343
  const _dice = dice
343
344
  .replace(/\s+/g, ' ')
344
345
  .replace(bps, (m) => ({ b: 'bludgeoning', p: 'piercing', s: 'slashing' }[m.toLowerCase()] ?? m))
345
- .replace(/Fire/, 'fire')
346
- .replace(/Cold/, 'cold')
347
- .replace(/Electricity/, 'electricity')
348
- .replace(/Sonic/, 'sonic')
349
- .replace(/Spirit/, 'spirit')
350
- .replace(/Acid/, 'acid')
351
- .replace(/[pP]lus\s(\d+d)/, '+$1')
346
+ .replace(/Fire/g, 'fire')
347
+ .replace(/Cold/g, 'cold')
348
+ .replace(/Electricity/g, 'electricity')
349
+ .replace(/Sonic/g, 'sonic')
350
+ .replace(/Spirit/g, 'spirit')
351
+ .replace(/Acid/g, 'acid')
352
+ .replace(/[pP]lus\s(\d+d)/g, '+$1')
352
353
  .trim();
353
354
 
354
355
  const twoHand = _traits.match(/(two-hand|two-handed)\s+(d\d+)/);
@@ -617,7 +618,7 @@ export const flatten = (stats: Schema, secretDC: boolean = false, defaultSkills:
617
618
  ] : []),
618
619
  ...entries(saveInfo).filter(([, v]) => v.length > 0).map(([k, v]) => [`${k}.info`, `\`(${v.join(', ')})\``]),
619
620
  ...entries(skillInfo).filter(([, v]) => v.length > 0).map(([k, v]) => [`${k}.info`, `\`(${v.join(', ')})\``]),
620
- ['out', secretDC ? 'xs' : 'm'],
621
+ ['out', secretDC ? 'xs' : 'l'],
621
622
  ].reduce<Record<string | number, string | number>>((p, [key, value]) => { p[key] = value; return p }, {});
622
623
  }
623
624