Difference between revisions of "Template:RunRewardsBreakdown"

From Jackpoint
Line 46: Line 46:
 
+ {{#if: {{{exposure|}}} | 1 | 0}}  
 
+ {{#if: {{{exposure|}}} | 1 | 0}}  
 
+ {{#if: {{{dangerous_lore|}}} | 1 | 0}} ) }}
 
+ {{#if: {{{dangerous_lore|}}} | 1 | 0}} ) }}
|karma={{#expr: 0}}
+
|karma={{#expr:
 +
( {{#if: {{{challenge|}}} | floor({{{challenge}}} / 6) | 0}}
 +
+ {{#if: {{{died|}}} | 0 | 2}}
 +
+ {{#switch: {{{objectives|}}} | all = 2 | some = 1 | #default = 0}} ) }}
 
|bastard={{{bastard|}}}
 
|bastard={{{bastard|}}}
 
|good_feelings={{{good_feelings|}}}
 
|good_feelings={{{good_feelings|}}}

Revision as of 18:31, 24 February 2021

NuyenKarma
Highest opposed pool
Factors
(Pool / 4)0
(Pool / 6)0
Survived+2
Subtotal

¥0

2

Double

¥0

4

Final

¥0

4

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}}