MediaWiki:Gadget-hero-comparison.js: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Created page with "→* * Hero Comparison Table - Interactive Spirit Power and Power Increases inputs * Allows real-time recalculation of hero stats: (function() { 'use strict'; // Only run on pages with the hero comparison table if (!document.getElementById('hero-comparison-container')) return; const CONTAINER_ID = 'hero-comparison-container'; const TABLE_ID = 'hero-comparison-table'; function roundToSigFigs(num, sig) { if (num === 0 || !..." |
Testing fix for dps |
||
| Line 59: | Line 59: | ||
function calculateStat(cell, spiritPower, powerIncreases) { | function calculateStat(cell, spiritPower, powerIncreases) { | ||
const statName = cell.dataset.statName; | const statName = cell.dataset.statName; | ||
// --- LINEAR STATS (Everything Else) --- | // --- LINEAR STATS (Everything Else) --- | ||