Change range of 10-sided dice (#22833)

* d10s now roll values from 0 to 9

* Changelog for PR #22406 (#22824)

* Remove meta entry for 10 value state

* Gotta delete the 10 face state or the RSI validator complains

* Attempting to fix invalid state causing tests to fail

* Another, better attempt to fix the test

* Once again

* I am an overcomplicating dingbat

---------

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
Tayrtahn
2023-12-21 21:53:17 -05:00
committed by GitHub
parent bc1f8b0e40
commit 8ad0d26015
4 changed files with 5 additions and 4 deletions

View File

@@ -61,9 +61,10 @@
components:
- type: Dice
sides: 10
currentValue: 10
offset: 1
currentValue: 0
- type: Sprite
state: d10_10
state: d10_0
- type: entity
parent: BaseDice

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 369 B

View File

@@ -38,10 +38,10 @@
"name": "percentile_90"
},
{
"name": "d10_1"
"name": "d10_0"
},
{
"name": "d10_10"
"name": "d10_1"
},
{
"name": "d10_2"