Difference between revisions of "Template:Infobox Card"

From Unofficial Fantasica Wiki
Jump to: navigation, search
(Testing arena damage in template)
(Fixing arena formula)
Line 20: Line 20:
 
! Lvl !! [[Image:Ground_icon.png|16px]] !! [[Image:Air_icon.png|16px]] !! [[Image:Sea_icon.png|16px]] !! Total !! Arena
 
! Lvl !! [[Image:Ground_icon.png|16px]] !! [[Image:Air_icon.png|16px]] !! [[Image:Sea_icon.png|16px]] !! Total !! Arena
 
{{!}}-
 
{{!}}-
{{!}} {{#expr: {{{rarity|6}}}*20 }} {{!!}} {{{ground|???}}} {{!!}} {{{air|???}}} {{!!}} {{{sea|???}}} {{!!}} {{{total|???}}} {{!!}} {{#expr: trunc((1-2^{{{rarity|1}}}/100) *((1.2*{{#if: {{{ground|1}}}>{{{air|1}}} | {{#if: {{{ground|1}}}>{{{sea|1}}} | {{{ground|1}}} | {{{sea|1}}} }} | {{#if: {{{air|1}}} > {{{sea|1}}} | {{{air|1}}} | {{{sea|1}}} }} }}) round0 +(1.2*({{{total|1}}}-{{#if: {{{ground|1}}}>{{{air|1}}} | {{#if: {{{ground|1}}}>{{{sea|1}}} | {{{ground|1}}} | {{{sea|1}}} }} | {{#if: {{{air|1}}} > {{{sea|1}}} | {{{air|1}}} | {{{sea|1}}} }} }}-{{#if: {{{ground|1}}}>{{{air|1}}} | {{#if: {{{air|1}}}>{{{sea|1}}} | {{{sea|1}}} | {{{air|1}}} }} | {{#if: {{{ground|1}}} > {{{sea|1}}} | {{{sea|1}}} | {{{ground|1}}} }} }})) round0)) }}
+
{{!}} {{#expr: {{{rarity|6}}}*20 }} {{!!}} {{{ground|???}}} {{!!}} {{{air|???}}} {{!!}} {{{sea|???}}} {{!!}} {{{total|???}}} {{!!}} {{#expr:trunc((1-({{{rarity|1}}})^2/100)*(floor(1.2*{{#if: {{{ground|1}}}>{{{air|1}}} | {{#if: {{{ground|1}}}>{{{sea|1}}} | {{{ground|1}}} | {{{sea|1}}} }} | {{#if: {{{air|1}}} > {{{sea|1}}} | {{{air|1}}} | {{{sea|1}}} }} }}+0.5)+floor(1.2*({{{total|1}}} - {{#if: {{{ground|1}}}>{{{air|1}}} | {{#if: {{{ground|1}}}>{{{sea|1}}} | {{{ground|1}}} | {{{sea|1}}} }} | {{#if: {{{air|1}}} > {{{sea|1}}} | {{{air|1}}} | {{{sea|1}}} }} }} - {{#if: {{{ground|1}}}>{{{air|1}}} | {{#if: {{{sea|1}}}>{{{air|1}}} | {{{air|1}}} | {{{sea|1}}} }} | {{#if: {{{ground|1}}} > {{{sea|1}}} | {{{sea|1}}} | {{{ground|1}}} }} }}+0.5))))}}
 
{{!}}-
 
{{!}}-
{{!}} {{#expr: {{{rarity|6}}}*20 + 20 }} {{!!}} {{{ground2|???}}} {{!!}} {{{air2|???}}} {{!!}} {{{sea2|???}}} {{!!}} {{{total2|???}}} {{!!}} {{#expr: trunc((1-2^({{{rarity|1}}}+1)/100) *((1.2*{{#if: {{{ground2|1}}}>{{{air2|1}}} | {{#if: {{{ground2|1}}}>{{{sea2|1}}} | {{{ground2|1}}} | {{{sea2|1}}} }} | {{#if: {{{air2|1}}} > {{{sea2|1}}} | {{{air2|1}}} | {{{sea2|1}}} }} }}) round0 +(1.2*({{{total2|1}}}-{{#if: {{{ground2|1}}}>{{{air2|1}}} | {{#if: {{{ground2|1}}}>{{{sea2|1}}} | {{{ground2|1}}} | {{{sea2|1}}} }} | {{#if: {{{air2|1}}} > {{{sea2|1}}} | {{{air2|1}}} | {{{sea2|1}}} }} }}-{{#if: {{{ground2|1}}}>{{{air2|1}}} | {{#if: {{{air2|1}}}>{{{sea2|1}}} | {{{sea2|1}}} | {{{air2|1}}} }} | {{#if: {{{ground2|1}}} > {{{sea2|1}}} | {{{sea2|1}}} | {{{ground2|1}}} }} }})) round0)) }}
+
{{!}} {{#expr: {{{rarity|6}}}*20 + 20 }} {{!!}} {{{ground2|???}}} {{!!}} {{{air2|???}}} {{!!}} {{{sea2|???}}} {{!!}} {{{total2|???}}} {{!!}} {{#expr:trunc((1-({{{rarity|1}}})^2/100)*(floor(1.2*{{#if: {{{ground2|1}}}>{{{air2|1}}} | {{#if: {{{ground2|1}}}>{{{sea2|1}}} | {{{ground2|1}}} | {{{sea2|1}}} }} | {{#if: {{{air2|1}}} > {{{sea2|1}}} | {{{air2|1}}} | {{{sea2|1}}} }} }}+0.5)+floor(1.2*({{{total2|1}}} - {{#if: {{{ground2|1}}}>{{{air2|1}}} | {{#if: {{{ground2|1}}}>{{{sea2|1}}} | {{{ground2|1}}} | {{{sea2|1}}} }} | {{#if: {{{air2|1}}} > {{{sea2|1}}} | {{{air2|1}}} | {{{sea2|1}}} }} }} - {{#if: {{{ground2|1}}}>{{{air2|1}}} | {{#if: {{{sea2|1}}}>{{{air2|1}}} | {{{air2|1}}} | {{{sea2|1}}} }} | {{#if: {{{ground2|1}}} > {{{sea2|1}}} | {{{sea2|1}}} | {{{ground2|1}}} }} }}+0.5))))}}
 
{{!}}}
 
{{!}}}
 
|data4 = <div style="width:270px; white-space:normal; border-top:solid 1px #999;">{{{source|Source Unknown}}}</div>
 
|data4 = <div style="width:270px; white-space:normal; border-top:solid 1px #999;">{{{source|Source Unknown}}}</div>
 
}}
 
}}

Revision as of 21:19, 12 April 2013

Paris
Paris icon.png
★★★★★★
Paris
Blank album 6.png
Melee icon.png Melee  ? Range  ? Speed
 ? Cost no skill
Lvl Ground icon.png Air icon.png Sea icon.png Total Arena
120  ???  ???  ???  ??? 0
140  ???  ???  ???  ??? 0
Source Unknown
Personal tools
Namespaces

Variants
Actions
Menu
Game Menu
Card Lists
Trading
External Resources
Toolbox