Template:InfoCard/TierReqForm: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
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|-  
floor ({{#expr:1.5 * ({{{2|0}}} + 1 + floor ({{{2|0}}}/3))^2}}) {{#ifexpr:{{{2|0}}} > 0|-  
floor ({{#expr:1.5 * (({{{2|0}}}-1) + 1 + floor (({{{2|0}}}-1)/3))^2}})}}
floor ({{#expr:1.5 * (({{{2|0}}}-1) + 1 + floor (({{{2|0}}}-1)/3))^2}})}}

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