User:Ritsu/test2: Difference between revisions

From Elwiki
No edit summary
No edit summary
 
(171 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:game_mode|
{{#invoke:Test|main
A function that takes two parameters: the stat and the game mode.<br/>0 - Normal, 1 - Henir, 2 - Secret Dungeon, 3 - Secret Dungeon (Luto Mode)<hr>Uses the following:<br/>{{*}}If Secret Dungeon: 0.9 * (1.8 * ((H - 70) / 36)^(2.5) + 0.7)<br/>If Luto: 0.9 * (1 * ((H - 70) / 36)^(3.5) + 1.5)<br/>Otherwise equals to 1.
| color={{{color|}}}
| title={{{title|{{{Name|{{{name|}}}}}}}}}
| image={{{image|}}}
| label1=Name
| data1={{{name|}}}
| label2=Set
| data2={{{set|}}}
| label3=Rarity
| data3={{#if:{{{rarity|}}}|{{ItemName|{{{rarity|}}}|{{{rarity|}}}}}}}
| label4=Item Type
| data4={{{type|}}}
| label5=Level Requirement
| data5={{{req|}}}
| label6=Item Level
| data6={{{Lv|}}}
| label7=Reselling Price
| data7={{{resell|}}}
| label8=Trading
| data8={{{trade|}}}
| label9=[[Dismantling]]
| data9={{{Dismantle|}}}
| label10=Bank Share
| data10={{#if:{{{Bank|}}}|{{color|red|{{{Bank|}}}}}}}
| label11=Sealing Possible
| data11={{#if:{{{sealing|}}}|{{color|red|{{{sealing|}}}}}}}
| label12=Other Limitations
| data12={{{Limit|}}}
| label14=[[Equipment#Equipment_Stat_Calculation|HP Grade]] (HPG)
| data14={{{HPG|}}}
| label15=Additional Effects
| data15={{{AE|}}}
}}
}}
Max HP = FLOOR((340 + 60 * L) * (9.994 + 0.006 * H²) * L * F)
*'''FLOOR''' = This function rounds the input number down to the closest integer.
*'''L''' = The enemy's level. Enemies from [[Elrianode]] onwards have level 99, and 100 from [[Plegas's Gaze]] onwards.
*'''H''' = A hidden HP base depending on the enemy
*'''F''' = {{tt|Game mode multiplier|{{#var:game_mode}}}}

Latest revision as of 14:06, 17 June 2024