Template:InfoCard/TierReqForm: Difference between revisions

From IdleOn MMO Wiki
(Created page with "$B$1*POWER(A2 + 1 + (FLOOR.MATH(A2/3)+16*FLOOR.MATH(A2/4)),2) <includeonly>{{#expr:{{{1|1}}} * (((floor {{{2|0}}}/3) + 16 * (floor {{{2|0}}}/4)) ^ 2) }}</includeonly> {{Infocard/formula|1.5|0}}<br/> {{Infocard/formula|1.5|1}}<br/> {{Infocard/formula|1.5|2}}<br/> {{Infocard/formula|1.5|3}}<br/> {{Infocard/formula|1.5|4}} 1 = TierReq 2 = TierCalced (0 = copper, 1 = silver, ect) 3 = 'special' cases where a different formula is needed.")
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
$B$1*POWER(A2 + 1 + (FLOOR.MATH(A2/3)+16*FLOOR.MATH(A2/4)),2)
<!--Normal: reqTier * Math.pow(i2 + 1 + (Math.floor(i/3) + 16 * Math.floor(i/4)), 2)
<includeonly>{{#expr:{{{1|1}}} * (((floor {{{2|0}}}/3) + 16 * (floor {{{2|0}}}/4)) ^ 2) }}</includeonly>
Chaotic Chizoar: 1.5 * Math.pow(i + 1 + Math.floor(i / 3), 2)
 
--><includeonly>{{#ifeq:{{{3|{{PAGENAME}}}}}|Chaotic Chizoar Card|{{#expr:
 
ceil ({{#expr:1.5 * ({{{2|0}}} + 1 + floor ({{{2|0}}}/3))^2}}) {{#ifexpr:{{{2|0}}} > 0|-
 
ceil ({{#expr:1.5 * (({{{2|0}}}-1) + 1 + floor (({{{2|0}}}-1)/3))^2}})}}
 
}}|{{#expr:
{{Infocard/formula|1.5|0}}<br/>
ceil ({{#expr:{{{1|1}}} * ({{{2|0}}} + 1 + (floor ({{{2|0}}}/3) + 16 * floor ({{{2|0}}}/4)))^2 }}) {{#ifexpr:{{{2|0}}} > 0|-
{{Infocard/formula|1.5|1}}<br/>
ceil ({{#expr:{{{1|1}}} * (({{{2|0}}}-1) + 1 + (floor (({{{2|0}}}-1)/3) + 16 * floor (({{{2|0}}}-1)/4)))^2 }})}}
{{Infocard/formula|1.5|2}}<br/>
}}}}</includeonly><noinclude>
{{Infocard/formula|1.5|3}}<br/>
<pre>{{InfoCard/TierReqForm
{{Infocard/formula|1.5|4}}
  | TierReq (card's input value)
 
  | Tier (0 = Copper, 1 = Silver, ect)
 
  | Card's name (Optional except for Chaotic Chizoar as it has a special formula)
 
}}</pre>
 
</noinclude>
1 = TierReq
2 = TierCalced (0 = copper, 1 = silver, ect)
3 = 'special' cases where a different formula is needed.

Latest revision as of 09:25, 3 May 2023

{{InfoCard/TierReqForm
  | TierReq (card's input value)
  | Tier (0 = Copper, 1 = Silver, ect)
  | Card's name (Optional except for Chaotic Chizoar as it has a special formula)
}}