Este sitio utiliza cookies propias y de terceros. Si continúa navegando consideramos que acepta el uso de cookies. OK Más Información.

Autor Tema: Como usar el dado del foro  (Leído 4500 veces)

Desconectado kesulin

Como usar el dado del foro
« en: 31 Julio 2019, 11:12:26 »
Usando este botón podemos generar una tirada de dado dentro del foro    [ You are not allowed to view attachments ]  
O escribiendo las etiquetas manualmente [roll] [/ roll] (sin espacios)

dentro de la etiqueta debemos especificar cuantos dados vamos a lanzar y de cuantas caras.

1d6 -> 1 dado de 6 caras
2d6 -> 2 dados de 6 caras
1d10 -> 1 dado de 10 caras

El número anterior a la letra 'd' indica cuantos dados y el posterior de cuantas caras son los dados.

El uso del mod ofrece más posibilidades, si hay interés en descubrirlas les dejo la descripción del autor (en inglés):

Descripción de su autor:

This mod allows users to roll dice. They can use the preview function to preview dice rolls to make sure they have it right for what they want, but once they press Post, the dice rolls are embedded in the post, meaning that the only way they can change is if the post is edited, but a warning is issued if that is attempted.

It starts from a [roll] tag, and outputs a This dice roll has been tampered with!
 tag (implemented just for the mod) - trying to use the blockquote tag outside of [roll] circumstances (such as quoting the post, or better, editing the post) generates a visible warning.

There are a variety of options you can have inside the roll tag:

[roll ]1d6[/roll] - rolls 1 6-sided dice.
Might result in:

Citar
Rolled 1d6 : 2, total 2

[roll ]2d12+5[/roll] - roll 2 12-sided dice and add 5 to the result
Might result in:

Citar
Rolled 2d12+5 : 6, 11 + 5, total 22

[roll ]2d20^10[/roll] - roll 2 20-sided dice, re-rolling any result necessary so that the dice rolls are greater than 10.

Citar
Rolled 2d20^10 : 3 8 10 3 17, 2 10 9 10 14, total 31

[roll ]2d20v10[/roll] - roll 2 20-sided dice, re-rolling any result necessary so that the dice rolls are less than 10.

Citar
Rolled 2d20v10 : 11 3, 3, total 6

[roll ]2d20<10[/roll] - roll 2 20-sided dice, discarding any result where the roll was not less than 10.

Citar
Rolled 2d20<10 : 4, 20, total 4

[roll ]2d20>10[/roll] - roll 2 20-sided dice, discarding any result where the roll was not greater than 10.

Citar
Rolled 2d20>10 : 9, 10

Normally it will add the word 'Rolled' in front - you can customise this. For example, a spell that does some serious damage in a game:
[roll ]{Freezing} 1d10 {Fire} 1d20[/roll]

Citar
Freezing 1d10 : 1, total 1
Fire 1d20 : 2, total 2

You can also nest the requirements, with the proviso of stating the things as they are in order here.
[roll ]{Uberdamage} 15d100+10^10v90<80>20[/roll] - 15 100-sided dice, adding 10 to the result, rerolling anything 10 or less, rerolling anything 90 or higher, and if after that, you have values 20 or less, or 80 or higher, they get dropped.

Citar
Uberdamage 15d100+10^10v90<80>20 : 82, 7 61, 3 36, 59, 30, 86, 14, 42, 70, 22, 99 58, 100 73, 46, 93 1 91 42, 12 + 10, total 549

Lastly you can also have an iterator at the end:
[roll ]2d6x3[/roll] - roll 2d6 3 times and display the results overall

Citar
Rolled 2d6 : 6, 3, total 9
Rolled 2d6 : 1, 4, total 5
Rolled 2d6 : 1, 5, total 6


BBcode is not supported anywhere inside the [roll] tag.

« Última modificación: 31 Julio 2019, 11:17:20 por kesulin »
 
Los siguientes usuarios dieron las gracias a este tema: Karinsky, horak

Desconectado Karinsky

Re:Como usar el dado del foro
« Respuesta #1 en: 31 Octubre 2019, 23:56:02 »
Probando...

2d6
Rolled 2d6 : 3, 5, total 8


1d6x2
Rolled 1d6 : 4, total 4
Rolled 1d6 : 6, total 6


Logros en BSG XIV:
Most Trusted: Most XOs Received (3)  :avisosuccessM:
Cylon By Your Command: Reveal as a Cylon on an Executive Order :up:

Empieza el juego...
 

Desconectado horak

Re:Como usar el dado del foro
« Respuesta #2 en: 14 Julio 2020, 17:53:38 »
Rolled 1d14 : 10, total 10
Que no nos encontremos como enemigos,
pero si lo hacemos,
que los Dioses canten nuestra lucha.


Tambpo jsveus tebudo ( tiempo habéis tenido)