Difference between revisions of "Template:RunRewardsBreakdown/Negotiation"

From Jackpoint
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
  <th>Negotiation</th>
 
  <th>Negotiation</th>
 
  <td>
 
  <td>
<div style="display: flex; justify-content: space-between; margin: 0 1em;"><span>{{{negotiation}}} hits:</span><span>¥{{#expr: {{{nuyen}}} * (1 + 0.1 * {{{negotiation}}} ) }}</span></div>
+
<div style="display: flex; justify-content: space-between; margin: 0 1em;"><span>{{{negotiation}}} hits:</span><span>¥{{#expr: {{{nuyen|0}}} * (1 + 0.1 * {{{negotiation}}} ) }}</span></div>
 
  </td>
 
  </td>
 
  <td style="text-align: center;">
 
  <td style="text-align: center;">
Line 10: Line 10:
 
</tr>
 
</tr>
 
}}
 
}}
{{RunRewardsBreakdown/4
+
{{RunRewardsBreakdown/RelativeNuyenAdjustment
|nuyen={{#expr: {{{nuyen}}} * (1 + 0.1 * {{{negotiation|0}}} ) }}
+
|nuyen={{#if: {{{negotiation|}}} | {{#expr: {{{nuyen|}}} * (1 + 0.1 * {{{negotiation}}} ) }} | {{{nuyen|}}} }}
|karma={{{karma|0}}}
+
|karma={{{karma|}}}
 
|relative_nuyen_adjustment={{{relative_nuyen_adjustment|}}}
 
|relative_nuyen_adjustment={{{relative_nuyen_adjustment|}}}
 
|absolute_nuyen_adjustment={{{absolute_nuyen_adjustment|}}}
 
|absolute_nuyen_adjustment={{{absolute_nuyen_adjustment|}}}

Latest revision as of 09:46, 25 February 2021



Final

¥