User:Hitakashi/sandbox/Template:NGS Weapon Enhancement lookup

From Arks-Visiphone
Revision as of 17:14, 21 February 2024 by Hitakashi (talk | contribs) (Created page with "<includeonly>{{#switch: {{{rarity}}} | 1 = {{#switch:{{#expr: (({{{level}}}+4)/10 round 0)*10}}|10=22|20=46|30=63 |40=82 |50=161|60=347|70=575|80=614|0}} | 2 = {{#switch:{{#...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


This template returns the amount of attack a weapon rarity gains from a specific enhancement level rounded up to the closest 10. If a enhancement tier or rarity is not defined, this template simply returns 0.

Usage

{{NGS Weapon Enhancement lookup
| rarity = 1
| level = 10
}}

Example

{{User:Hitakashi/sandbox/Template:NGS Weapon Enhancement lookup|rarity=10|level=12}}

= 80


{{User:Hitakashi/sandbox/Template:NGS Weapon Enhancement lookup|rarity=4|level=80}}

= 527