Difference between revisions of "Template:Card probabilities"
(Misplaced comment tags) |
(If this is the second Deck list, second drop list, or second victory bonus list on a page, add a "-2" to the subobject name.) |
||
Line 8: | Line 8: | ||
|#default = Deck contains | |#default = Deck contains | ||
}} }}<!-- | }} }}<!-- | ||
+ | |||
+ | -->{{ #vardefine: ${{ #var: $property }}-counter | ||
+ | | {{ #expr: {{ #var: ${{ #var: $property }}-counter | 0 }} + 1 }} | ||
+ | }}<!-- | ||
# Per-game properties | # Per-game properties | ||
Line 70: | Line 74: | ||
}}<!-- | }}<!-- | ||
− | -->{{ #subobject: {{ # | + | -->{{ #subobject: {{ #var: $property }}<!-- |
+ | -->{{ #ifeq: {{ #var: ${{ #var: $property }}-counter }} | 0 || -{{ #var: ${{ #var: $property }}-counter }} }}<!-- | ||
+ | -->-{{ #var: $i }} | ||
| {{ #var: $property }} = {{ #var: $card-strip }} | | {{ #var: $property }} = {{ #var: $card-strip }} | ||
| Owner = {{ #var: $character }} | | Owner = {{ #var: $character }} |
Revision as of 01:42, 8 January 2019
# | Card | Card type | Type | ATK | DEF | % | 2048th |
---|