<d12> Tag DocumentationThe <d12> tag in The Seven Spells of Destruction triggers a 12-sided dice roll (D12) when the paragraph is parsed. This tag is used to introduce random chance or probabilistic outcomes into the story or mechanics.
<d12>
This tag does not accept any parameters or attributes.
g_dice is not set), it will trigger a d12() roll.<if g_dice > 6>).<d12>
<if g_dice gt 8> You land safely. <br> <else> You sprain your ankle and lose 2 stamina. <br> <endif>
In this example, the <d12> tag determines whether the player succeeds or suffers a penalty based on their roll.
g_dice per paragraph unless explicitly reset or replaced by another roll (e.g., <2d6> or <d6>).g_dice follows the roll in the paragraph to prevent referencing an unset value.