Template:InfoCard/TierReqForm: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--Normal: reqTier * Math.pow(i2 + 1 + (Math.floor(i/3) + 16 * Math.floor(i/4)), 2)
<!--Normal: reqTier * Math.pow(i2 + 1 + (Math.floor(i/3) + 16 * Math.floor(i/4)), 2)
Chaotic Chizoar: 1.5 * Math.pow(i + 1 + Math.floor(i / 3), 2)
Chaotic Chizoar: 1.5 * Math.pow(i + 1 + Math.floor(i / 3), 2)
--><includeonly>{{#ifeq:{{{3|}}}|Chaotic Chizoar Card|{{#expr:
--><includeonly>{{#ifeq:{{{3|{{PAGENAME}}}}}|Chaotic Chizoar Card|{{#expr:
floor ({{#expr:1.5 * ({{{2|0}}} + 1 + floor ({{{2|0}}}/3))^2}}) {{#ifexpr:{{{2|0}}} > 0|-  
ceil ({{#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}})}}
ceil ({{#expr:1.5 * (({{{2|0}}}-1) + 1 + floor (({{{2|0}}}-1)/3))^2}})}}
}}|{{#expr:
}}|{{#expr:
floor ({{#expr:{{{1|1}}} * ({{{2|0}}} + 1 + (floor ({{{2|0}}}/3) + 16 * floor ({{{2|0}}}/4)))^2 }}) {{#ifexpr:{{{2|0}}} > 0|-  
ceil ({{#expr:{{{1|1}}} * ({{{2|0}}} + 1 + (floor ({{{2|0}}}/3) + 16 * floor ({{{2|0}}}/4)))^2 }}) {{#ifexpr:{{{2|0}}} > 0|-  
floor ({{#expr:{{{1|1}}} * (({{{2|0}}}-1) + 1 + (floor (({{{2|0}}}-1)/3) + 16 * floor (({{{2|0}}}-1)/4)))^2 }})}}
ceil ({{#expr:{{{1|1}}} * (({{{2|0}}}-1) + 1 + (floor (({{{2|0}}}-1)/3) + 16 * floor (({{{2|0}}}-1)/4)))^2 }})}}
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>
<pre>{{InfoCard/TierReqForm
<pre>{{InfoCard/TierReqForm

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)
}}