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
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|}}}|Chaotic Chizoar Card|{{#expr:
 
floor ({{#expr:1.5 * ({{{2|0}}} + 1 + floor ({{{2|0}}}/3))^2}}) {{#ifexpr:{{{2|0}}} > 0|-
 
floor ({{#expr:1.5 * ({{{2|0}}} + 1 + floor ({{{2|0}}}/3))^2}})}}
 
}}|{{#expr:
{{Infocard/formula|1.5|0}}<br/>
floor ({{#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/>
floor ({{#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.

Revision as of 21:14, 29 April 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)
}}