Widget:PNCStats: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 102: | Line 102: | ||
<table class="gf-table"> | <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;"><img src="/images/c/ce/Attribute_Max_HP.png"></td><td>Max HP</td><td id="HP"></td> | ||
<td><img src="Attribute Crit Rate.png"></td><td>Crit Rate</td><td id="CritRate"></td></tr> | <td><img src="Attribute Crit Rate.png"></td><td>Crit Rate</td><td id="CritRate"></td></tr> | ||
<tr><td style="width:20px; height:20px;"><img src="Attribute ATK.png"></td><td>Attack</td><td id="ATK"></td> | <tr><td style="width:20px; height:20px;"><img src="Attribute ATK.png"></td><td>Attack</td><td id="ATK"></td> |
Revision as of 17:15, 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 |