Changes

Jump to: navigation, search

Template:Event points table

544 bytes added, 05:24, 28 December 2019
no edit summary
Parameters are:
* event: The name of the event. This is used to extract information about charges from the event's data template.
* start_hour: The hour (0-23) on which event starts, in PDTUTC
* total_hours: The total number of hours from the start time to the end time. For events with unpredictable end times, like boss health events, this controls how many rows of the table to show, and does not indicate the actual end time.
* base_1: The number of base points scorable on the first round of sub-nodes.
|event=Terrors in the Shadows
|start_hour=13
|total_hours=7062
|base_1=25
|bonus_1=20
|event=Terrors in the Shadows
|start_hour=13
|total_hours=7062
|base_1=25
|bonus_1=20
! colspan="3" | Possible points
! rowspan="2" | Time elapsed
! rowspan="2" | Time in PDTUTC
|-
! Base
-->{{#ifexpr: 20 >= {{Event data: {{{event}}}|8}} and 20 < {{{total_hours}}} / {{#explode:{{Event data: {{{event}}}|10}}|h|0}} + {{Event data: {{{event}}}|8}}|<br><!--
-->{{Event points table row|event={{{event}}}|charges=20|start_hour={{{start_hour}}}|total_hours={{{total_hours}}}|base_1={{{base_1}}}|bonus_1={{{bonus_1}}}|base_2={{{base_2|}}}|bonus_2={{{bonus_2|}}}|base_3={{{base_3|}}}|bonus_3={{{bonus_3|}}}}}}}<!--Show the final line unless it's a boss HP event, and the given end time is on a recharge point-->{{#ifexpr:{{#ifexpr: {{#pos:{{Event data: {{{event}}}|11}}|boss_hp}}|1|0}} and {{{total_hours}}} mod {{#explode:{{Event data: {{{event}}}|10}}|h|0}} = 0 ||<br>{{!}}-| {{!}} colspan="3" | {{!}} <small>'''''Event end'''''{{#if:{{#pos:{{Event data: {{{event}}}|11}}|boss_hp}}|<sup> †</sup>}}</small>| {{!}} <!-- Total max points: all_charges = init_charges + total_hours / recharge_time
floor((subnodes - 1 + all_charges) / subnodes) * (base_1 + bonus_1)
+ IF(subnodes > 1: floor((subnodes - 2 + all_charges / subnodes) * (base_2 + bonus_2))
* ({{{base_3}}} + {{{bonus_3}}})}}
}}'''
| {{!}} +{{{total_hours}}} Hrs{{!}} {{Hours formatted| {{#expr:({{{start_hour}}} + {{{total_hours}}}) mod 24 }}:00}}}}
|}
<nowiki>*</nowiki> Maximum charges reached if you have not started playing yet.<!-- -->{{#ifexpr: {{{total_hours}}} mod {{#explode:{{Event data: {{{event}}}|10}}|h|0}} > 0|<!--br>--><sup>§</sup> {{#expr: {{{total_hours}}} mod {{#explode:{{Event data: {{{event}}}|10}}|h|0}}}} hours available to complete last charge.}}<!---->{{#if:{{#pos:{{Event data: {{{event}}}|11}}|boss_hp}}|<br><sup>†</sup> This is a boss health event, which can potentially end prior to the scheduled finish time.}}</includeonly>

Navigation menu