Difference between revisions of "Template:Event points table"
Line 130: | Line 130: | ||
+ IF(subnodes > 2: floor((subnodes - 3 + all_charges / subnodes) * (base_3 + bonus_3)) | + IF(subnodes > 2: floor((subnodes - 3 + all_charges / subnodes) * (base_3 + bonus_3)) | ||
--> '''{{#expr: | --> '''{{#expr: | ||
− | floor(( | + | floor(({{Event data: {{{event}}}|7}} - 1 + floor({{Event data: {{{event}}}|8}} + ({{{total_hours}}} - 0.001) / {{#explode:{{Event data: {{{event}}}|10}}|h|0}})) / {{Event data: {{{event}}}|7}}) |
* ({{{base_1}}} + {{{bonus_1}}}) | * ({{{base_1}}} + {{{bonus_1}}}) | ||
− | {{#ifexpr: | + | {{#ifexpr: {{Event data: {{{event}}}|7}} > 1| |
+ floor(({{Event data: {{{event}}}|7}} - 2 + floor({{Event data: {{{event}}}|8}} + ({{{total_hours}}} - 0.001) / {{#explode:{{Event data: {{{event}}}|10}}|h|0}})) / {{Event data: {{{event}}}|7}}) | + floor(({{Event data: {{{event}}}|7}} - 2 + floor({{Event data: {{{event}}}|8}} + ({{{total_hours}}} - 0.001) / {{#explode:{{Event data: {{{event}}}|10}}|h|0}})) / {{Event data: {{{event}}}|7}}) | ||
* ({{{base_2}}} + {{{bonus_2}}})}} | * ({{{base_2}}} + {{{bonus_2}}})}} | ||
− | {{#ifexpr: | + | {{#ifexpr: {{Event data: {{{event}}}|7}} > 2| |
+ floor(({{Event data: {{{event}}}|7}} - 3 + floor({{Event data: {{{event}}}|8}} + ({{{total_hours}}} - 0.001) / {{#explode:{{Event data: {{{event}}}|10}}|h|0}})) / {{Event data: {{{event}}}|7}}) | + floor(({{Event data: {{{event}}}|7}} - 3 + floor({{Event data: {{{event}}}|8}} + ({{{total_hours}}} - 0.001) / {{#explode:{{Event data: {{{event}}}|10}}|h|0}})) / {{Event data: {{{event}}}|7}}) | ||
− | * ({{{base_3}}} + {{{bonus_3}}})}} | + | * ({{{base_3}}} + {{{bonus_3}}})}} |
}}''' | }}''' | ||
| +{{{total_hours}}} Hrs | | +{{{total_hours}}} Hrs |
Revision as of 06:10, 1 March 2019
Usage
Generates a table showing times, charges, and possible points for an event.
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 PDT
- 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.
- bonus_1: The number of bonus points scorable on the first round of sub-nodes.
- base_2: The number of base points scorable on the second round of sub-nodes. Must be present if there are at least 2 sub-nodes.
- bonus_2: The number of bonus points scorable on the second round of sub-nodes. Must be present if there are at least 2 sub-nodes.
- base_3: The number of base points scorable on the third round of sub-nodes. Must be present if there are at least 3 sub-nodes.
- bonus_3: The number of bonus points scorable on the third round of sub-nodes. Must be present if there are at least 3 sub-nodes.
Example
The following shorthand:
{{Event points table |event=A World Reborn |start_hour=13 |total_hours=70 |base_1=15 |bonus_1=10 |base_2=15 |bonus_2=10 |base_3=15 |bonus_3=10 }}
Produces:
Number of charges | Possible points | Time elapsed | Time in UTC | ||
---|---|---|---|---|---|
Base | Bonus | Total | |||
2 (Initial charges) | 30 | 20 | 50 | -START- | 1:00 PM |
3 | 45 | 30 | 75 | +8 Hrs | 9:00 PM |
4 | 60 | 40 | 100 | +16 Hrs | 5:00 AM |
5 (Max charges reached)* | 75 | 50 | 125 | +24 Hrs | 1:00 PM |
6 | 90 | 60 | 150 | +32 Hrs | 9:00 PM |
7 | 105 | 70 | 175 | +40 Hrs | 5:00 AM |
8 | 120 | 80 | 200 | +48 Hrs | 1:00 PM |
9 | 135 | 90 | 225 | +56 Hrs | 9:00 PM |
10§ | 150 | 100 | 250 | +64 Hrs | 5:00 AM |
Event end | 250 | +70 Hrs | 11:00 AM |
* Maximum charges reached if you have not started playing yet.
§ 6 hours available to complete last charge.
Number of charges | Possible points | Time elapsed | Time in UTC | ||
---|---|---|---|---|---|
Base | Bonus | Total | |||
3 (Initial charges) | 75 | 60 | 135 | -START- | 1:00 PM |
4 | 100 | 80 | 180 | +8 Hrs | 9:00 PM |
5 (Max charges reached)* | 125 | 100 | 225 | +16 Hrs | 5:00 AM |
6 | 150 | 120 | 270 | +24 Hrs | 1:00 PM |
7 | 175 | 140 | 315 | +32 Hrs | 9:00 PM |
8 | 200 | 160 | 360 | +40 Hrs | 5:00 AM |
9 | 225 | 180 | 405 | +48 Hrs | 1:00 PM |
10 | 250 | 200 | 450 | +56 Hrs | 9:00 PM |
11§ | 275 | 220 | 495 | +64 Hrs | 5:00 AM |
Event end | 495 | +70 Hrs | 11:00 AM |
* Maximum charges reached if you have not started playing yet.
§ 6 hours available to complete last charge.