Difference between revisions of "Template:RunRewards"
From Jackpoint
Line 4: | Line 4: | ||
|- | |- | ||
| style="text-align: center;" | | | style="text-align: center;" | | ||
− | ¥{{#expr: ( {{#if: {{{challenge|}}} | floor({{{challenge}}} / 4) | 0}} + {{#if: {{{outnumbered_3|}}} | 1 | 0}} + {{#if: {{{outnumbered_pro|}}} | 1 | 0}} + {{#if: {{{six_critters|}}} | 1 | 0}} + {{#if: {{{three_spirits|}}} | 1 | 0}} + {{#if: {{{speed_subtlety|}}} | 1 | 0}} + {{#if: {{{exposure|}}} | 1 | 0}} + {{#if: {{{dangerous_lore|}}} | 1 | 0}} ) * 3000 }} | + | ¥{{#expr: (( {{#if: {{{challenge|}}} | floor({{{challenge}}} / 4) | 0}} + {{#if: {{{outnumbered_3|}}} | 1 | 0}} + {{#if: {{{outnumbered_pro|}}} | 1 | 0}} + {{#if: {{{six_critters|}}} | 1 | 0}} + {{#if: {{{three_spirits|}}} | 1 | 0}} + {{#if: {{{speed_subtlety|}}} | 1 | 0}} + {{#if: {{{exposure|}}} | 1 | 0}} + {{#if: {{{dangerous_lore|}}} | 1 | 0}} ) |
+ | * 3000) | ||
+ | {{#if: {{{relative_nuyen_adjustment|}}} | * {{{relative_nuyen_adjustment}}} }} | ||
+ | }} | ||
| style="text-align: center;" | | | style="text-align: center;" | |
Revision as of 23:30, 21 February 2021
Nuyen | Karma |
---|---|
¥0 |
2 |
Usage
Setting a parameter to something non-blank adds the value from its row in the corresponding reward table.
If the died parameter is omitted or blank (as in the example), the 2 karma for surviving are added; i.e. only set this parameter if characters actually died.
The challenge parameter should be set to the dice pool encountered - the template will handle the division and rounding.
{{RunRewards |died= |all=1 |some=1 |challenge=4 |bastard=1 |good_feelings=1}}