Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Using dice styles with saved expressions?

A topic by NMcCoy created Nov 16, 2020 Views: 205 Replies: 3
Viewing posts 1 to 2
(1 edit)

Suppose I have an attack I roll that does 2d6 physical + 1d6 fire damage, and I want the fire damage to be indicated separately (for resistances and such). Is there any tidy way to have a saved roll that rolls 3d6 (or 2d6+1d6) where one of them is styled differently?

Edit: Figured it out. If you have a die in your tray with a label (like "f6"), you can use that label in roll expressions, so like "2d6+1f6".

Developer

Yep, that's how you can do it! also, you can split up the results with an expression like this if you want:

physical=2d6, fire=f6, total=physical+fire

That will output both results individually and the combined total so you can quickly get whichever result you need :)


if you want a simpler expression you can do something like this, which is the same thing but results are not labelled:

2d6, f6, result1+result2

Is there a way to roll two different dice and drop the lowest of them? I haven't been able to find an expression that does this successfully.

Developer

there is, you can apply some roll conditions to named results, like this:

roll=d6+f6, rollK


But in the current version it only works if the conditions are applied to a result that contains all of the relevant dice, so you can’t combine results and then apply a condition like this (not yet, sorry):

roll1=d6, roll2=f6, roll=roll1+roll2, rollK