BTC Player Stat Fact
The value of an RPGCore statistic for the player
フィールド
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
group | Ref<GroupEntry> | — | — |
statId | String | — | The statistic's id, as declared in the RPGCore stat definitions. Case insensitive. |
scale | Double | 1.0 | Multiplies the value before it is rounded, so a fractional stat can still be compared finely. |
TypeWriter 共通フィールド(comment)
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
comment | String | — | — |
How to use it
Facts hold whole numbers, so the stat value is multiplied by scale then rounded: a defence of 12.5 reads 13 with scale 1 and 125 with scale 10. An unknown statId reads 0.