Widget:PNCStats: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 101: | Line 101: | ||
<div style="display:none;" id="Potential7"><!--{$Potential7|escape:'html'}--></div> | <div style="display:none;" id="Potential7"><!--{$Potential7|escape:'html'}--></div> | ||
<table class=" | <table class="gf-table"> | ||
<tr>< | <tr><th colspan=3><label>Level <input id="level" type="number" min="1" max="70" value="60" onchange="updateStats()" style="width:4em;"></label></th> | ||
< | <th colspan=6><label id="break"><input type="checkbox" onclick="updateStats()"> With Breakthrough</label></th></tr> | ||
<tr>< | <tr><th colspan=3><label>Rarity </label><select id="rarity" onchange="updateStats()"><option value="2">★</option><option value="3">★☆</option><option value="4">★★</option><option value="5">★★☆</option><option value="6">★★★</option><option value="7">★★★☆</option><option value="8">★★★★</option><option value="9">★★★★☆</option><option value="10" selected="selected">★★★★★</option></select></th> | ||
< | <th colspan=6><span title="• At levels where a Potential Breakthrough can be realized, check “With Breakthrough” to display the values after Breakthrough. • In the game, the values after the “+” sign are the sum of “Attribute Bonuses”, which are gathered from a variety of sources. In this table, only the rarity bonus is displayed." style="border-bottom:1px dotted;">How to use</span></th> | ||
</tr> | </tr> | ||
<tr><td style="width:20px; height:20px;"><img src=" | <tr><td style="width:20px; height:20px; text-align:center;"><img src="/images/c/ce/Attribute_Max_HP.png" height="20"></td><td>Max HP</td><td id="HP"></td> | ||
<td><img src=" | <td style="width:20px; height:20px; text-align:center;"><img src="/images/9/95/Attribute_Crit_Rate.png" height="20"></td><td>Crit Rate</td><td id="CritRate"></td></tr> | ||
<tr><td style="width:20px; height:20px;"><img src=" | <tr><td style="width:20px; height:20px; text-align:center;"><img src="/images/f/fe/Attribute_ATK.png" height="20"></td><td>Attack</td><td id="ATK"></td> | ||
<td><img src=" | <td style="width:20px; height:20px; text-align:center;"><img src="/images/c/ce/Attribute_Crit_Damage.png" height="20"></td><td>Crit Damage</td><td id="CritDmg"></td></tr> | ||
<tr><td style="width:20px; height:20px;"><img src=" | <tr><td style="width:20px; height:20px; text-align:center;"><img src="/images/f/f5/Attribute_Hashrate.png" height="20"></td><td>Hashrate</td><td id="Hashrate"></td> | ||
<td><img src=" | <td style="width:20px; height:20px; text-align:center;"><img src="/images/2/2d/Attribute_Physical_PEN.png" height="20"></td><td>Physical Penetration</td><td id="PhysPen"></td></tr> | ||
<tr><td style="width:20px; height:20px;"><img src=" | <tr><td style="width:20px; height:20px; text-align:center;"><img src="/images/1/13/Attribute_Physical_DEF.png" height="20"></td><td>Physical Defense</td><td id="PhysDef"></td> | ||
<td><img src=" | <td style="width:20px; height:20px; text-align:center;"><img src="/images/3/34/Attribute_Operand_PEN.png" height="20"></td><td>Operand Penetration</td><td id="OpPen"></td></tr> | ||
<tr><td style="width:20px; height:20px;"><img src=" | <tr><td style="width:20px; height:20px; text-align:center;"><img src="/images/7/72/Attribute_Operand_DEF.png" height="20"></td><td>Operand Defense</td><td id="OpDef"></td> | ||
<td><img src=" | <td style="width:20px; height:20px; text-align:center;"><img src="/images/1/11/Attribute_Dodge_Rate.png" height="20"></td><td>Dodge Rate</td><td id="Dodge"></td></tr> | ||
<tr><td style="width:20px; height:20px;"><img src=" | <tr><td style="width:20px; height:20px; text-align:center;"><img src="/images/e/ec/Attribute_Attack_Speed.png" height="20"></td><td>Attack Speed</td><td id="Speed"></td> | ||
<td><img src=" | <td style="width:20px; height:20px; text-align:center;"><img src="/images/e/e4/Attribute_Post-battle_HP_Regen.png" height="20"></td><td>Post-battle HP Regen</td><td id="Regen"></td></tr> | ||
</table> | </table> | ||
</includeonly> | </includeonly> |
Latest revision as of 17:29, 21 August 2023
Did you remember to purge page cache before testing?
This widget fetches raw data from Module:Hero_star and Module:Hero_potential and handles stats calculation and table display.
Test case for Persicaria (index 1001):
How to use | ||||||||
---|---|---|---|---|---|---|---|---|
![]() | Max HP | ![]() | Crit Rate | |||||
![]() | Attack | ![]() | Crit Damage | |||||
![]() | Hashrate | ![]() | Physical Penetration | |||||
![]() | Physical Defense | ![]() | Operand Penetration | |||||
![]() | Operand Defense | ![]() | Dodge Rate | |||||
![]() | Attack Speed | ![]() | Post-battle HP Regen |