# Thread: Qin: The Warring State's Yin-Yang Dice

1. ## Qin: The Warring State's Yin-Yang Dice

Any idea how I'd go about setting up a dice mechanic like this?

For those unfamiliar, Qin: The Warring States by Cubicle 7, a bronze age Chinese heroic age wuxia type game uses a resolution system they call Yin-Yang dice. This is a 2d10 roll (ostensibly with a one white die and one black die) where you subtract the lower die roll from the higher, giving a result of 0 to 9 (0s on the dice are counted as zero).

I've done some fiddling, but can't seem to set this up on my own.

Thanks for any help.

2. /die 1d10-1d10

3. Originally Posted by Valarian
/die 1d10-1d10
Tried that, it doesn't work, that's why I asked the question. As I mentioned you have to subtract the low result from the high result. I forgot to mention that you want this while keeping each die color separate. /die 1d10-1d10 only subtracts one from the other, resulting in anything from -10 to +10 rather than 0-9.

So for example, during play you'd roll the dice and end up with White (Ying)5 and Black (Yang)2, resulting in a 2-5 = 3 with a Ying (white) trend.

4. -9 to 0 would be the Yang range, 0 to 9 would be the Yin range. The die mechanic still works with the basic die roll. Without this, you'd need to code up a die handler - which isn't a simple thing to do.

In your example you'd get a roll of: d10(5) -d10 (2) Result 3 [interpret as a Yin roll]
If the other way around, you'd get: d10(2) -d10 (5) Result -3 [interpret as a Yang roll]

5. Okay. So I guess I get to learn how to create a die handler. Fun.

6. As I said, the 1d10-1d10 mechanic does work for the game. Just interpret the -9 to 0 range as a Yang result, and the 0 to 9 range as a Yin result. There's no need in this case for a special die handler. All this would do is to add the specific wording to the result.

1d10-1d10 [d10=5] [-d10=-4] ( 1 )

You'd get:
Yin [Yin=5] [Yang=4] ( 1 )

[EDIT]
Attached an example of a die handler for d10s (Yggdrasill/Keltia)

7. I don't know Yggdrasill well enough other than that it is by the same company as Qin, but I gathered they're not exactly the same. I was hoping to automate skill rolls, which take the roll, add skill, compare to target numbers, etc.

Ah well, it's for further down the line anyway.

I should point out that one goal is to potentially try making a rulesset for the game, but I know I'm not there yet, figured I'd start on what I viewed as the smaller aspects.

8. Ive uploaded a Qin diceroller to MoreCore v1.36
https://www.fantasygrounds.com/forum...reCore-Ruleset
Create a Roll and use /qin
You can also use in conjunction with Modifiers /mod
Use modifiers first and then make the Qin roll.

9. Just in time for the Qin and more Cubice7 Bundle of Holding

10. Originally Posted by ianmward
Just in time for the Qin and more Cubice7 Bundle of Holding
Aieeee! I know.. Im looking at that one and the other one... you know.... THAT one... https://bundleofholding.com/presents/CthulhuBritannica

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•