<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://armsofgod.wiki.spellsandguns.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AStatIndex</id>
	<title>Module:StatIndex - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://armsofgod.wiki.spellsandguns.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AStatIndex"/>
	<link rel="alternate" type="text/html" href="https://armsofgod.wiki.spellsandguns.com/index.php?title=Module:StatIndex&amp;action=history"/>
	<updated>2026-06-18T04:27:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://armsofgod.wiki.spellsandguns.com/index.php?title=Module:StatIndex&amp;diff=2088&amp;oldid=prev</id>
		<title>Ta1ha: bot: documentation pass — editor-facing docs (data descriptions, module comments, template usage, Help rewrite)</title>
		<link rel="alternate" type="text/html" href="https://armsofgod.wiki.spellsandguns.com/index.php?title=Module:StatIndex&amp;diff=2088&amp;oldid=prev"/>
		<updated>2026-06-10T16:04:44Z</updated>

		<summary type="html">&lt;p&gt;bot: documentation pass — editor-facing docs (data descriptions, module comments, template usage, Help rewrite)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:04, 10 June 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-- Module:StatIndex — &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;render-time &lt;/del&gt;stat reverse&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-lookup (Arms of God).&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-- Module:StatIndex — &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;what modifies this &lt;/ins&gt;stat&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;?&quot; &lt;/ins&gt;reverse &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lookups&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-- Scans the stat-bearing source Data:&amp;lt;Category&amp;gt;.json pages at render time.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-- No Data:StatIndex.json&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--   {{#invoke:StatIndex|boosters|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;stat&amp;gt;&lt;/del&gt;}} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&amp;gt; &lt;/del&gt;every hero / blessing /&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-- WHAT IT DOES&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--   Renders the lookup tables on the per-stat pages (Armor, Speed, ...)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--   and the damage-type hubs (Holy/Fire/Electric Damage). Nothing is&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--   stored: it scans the stat-bearing source Data pages at render time,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--   so a balance change edited into a Data page updates every stat page&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--   on purge.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-- HOW TO INVOKE&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--   {{#invoke:StatIndex|boosters|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Armor&lt;/ins&gt;}} &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;      &lt;/ins&gt;every hero / blessing /&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--       upgrade / passive / Crux power modifying the stat (desc by amount)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--       upgrade / passive / Crux power modifying the stat (desc by amount)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--   {{#invoke:StatIndex|weapons|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;element&amp;gt;&lt;/del&gt;}} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&amp;gt; &lt;/del&gt;every weapon dealing the&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--   {{#invoke:StatIndex|weapons|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Fire Damage&lt;/ins&gt;}} &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;every weapon dealing the&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--       elemental damage type (desc by amount)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;--       elemental damage type (desc by amount)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-- SOURCE DATA IT READS (via Module:Core)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--   boosters: Data:Characters.json, Data:Blessings.json,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--   Data:Upgrades.json, Data:Passives.json, Data:Crux.json.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--   weapons: Data:Weapons.json.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local Core = require(&amp;#039;Module:Core&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local Core = require(&amp;#039;Module:Core&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local p = {}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local p = {}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key armsofgodwiki:diff:1.41:old-1943:rev-2088:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Ta1ha</name></author>
	</entry>
	<entry>
		<id>https://armsofgod.wiki.spellsandguns.com/index.php?title=Module:StatIndex&amp;diff=1943&amp;oldid=prev</id>
		<title>Ta1ha: bot: render-time derivation refactor (phase 2)</title>
		<link rel="alternate" type="text/html" href="https://armsofgod.wiki.spellsandguns.com/index.php?title=Module:StatIndex&amp;diff=1943&amp;oldid=prev"/>
		<updated>2026-06-10T08:30:47Z</updated>

		<summary type="html">&lt;p&gt;bot: render-time derivation refactor (phase 2)&lt;/p&gt;
&lt;a href=&quot;//armsofgod.wiki.spellsandguns.com/index.php?title=Module:StatIndex&amp;amp;diff=1943&amp;amp;oldid=1857&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Ta1ha</name></author>
	</entry>
	<entry>
		<id>https://armsofgod.wiki.spellsandguns.com/index.php?title=Module:StatIndex&amp;diff=1857&amp;oldid=prev</id>
		<title>Ta1ha: bot: operator iteration 2026-06-10d (hover tooltips / filter chips + DPS sort / damage-type hubs / stat reverse-lookup pages)</title>
		<link rel="alternate" type="text/html" href="https://armsofgod.wiki.spellsandguns.com/index.php?title=Module:StatIndex&amp;diff=1857&amp;oldid=prev"/>
		<updated>2026-06-10T06:08:11Z</updated>

		<summary type="html">&lt;p&gt;bot: operator iteration 2026-06-10d (hover tooltips / filter chips + DPS sort / damage-type hubs / stat reverse-lookup pages)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Module:StatIndex — stat reverse-lookup renderer (Arms of God).&lt;br /&gt;
-- Reads Data:StatIndex.json (built by the flatten step):&lt;br /&gt;
--   stats[key]           -&amp;gt; every hero / blessing / upgrade / passive / Crux&lt;br /&gt;
--                           power modifying the stat (desc by amount)&lt;br /&gt;
--   element_weapons[key] -&amp;gt; every weapon dealing that elemental damage type&lt;br /&gt;
-- {{#invoke:StatIndex|boosters|&amp;lt;stat&amp;gt;}}  -&amp;gt; &amp;#039;Boosted by&amp;#039; sortable table&lt;br /&gt;
-- {{#invoke:StatIndex|weapons|&amp;lt;stat&amp;gt;}}   -&amp;gt; &amp;#039;Dealt by&amp;#039; sortable table&lt;br /&gt;
-- Source cells are .wm-tip wrapped (Common.js hover-infobox popup).&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local TBL = &amp;#039;{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;font-size:0.95em;background:var(--table-row-odd, #1b1c20);color:var(--table-text, #e6e6e6);border-color:var(--table-border, #3a3c44);&amp;quot;&amp;#039;&lt;br /&gt;
local TH  = &amp;#039;! style=&amp;quot;background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);&amp;quot; | &amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- SC-01: canonicalise the frozen mw.loadJsonData table (its `#` is 0).&lt;br /&gt;
local function fix(t)&lt;br /&gt;
  if type(t) ~= &amp;#039;table&amp;#039; then return t end&lt;br /&gt;
  local out = {}&lt;br /&gt;
  for k, v in pairs(t) do out[k] = fix(v) end&lt;br /&gt;
  return out&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function loadData()&lt;br /&gt;
  local ok, data = pcall(mw.loadJsonData, &amp;#039;Data:StatIndex.json&amp;#039;)&lt;br /&gt;
  if not ok or type(data) ~= &amp;#039;table&amp;#039; then return nil end&lt;br /&gt;
  return data&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function tipcell(e)&lt;br /&gt;
  local label&lt;br /&gt;
  if e.icon and e.icon ~= &amp;#039;&amp;#039; then&lt;br /&gt;
    label = &amp;#039;[[File:&amp;#039; .. e.icon .. &amp;#039;|24px|link=&amp;#039; .. e.slug .. &amp;#039;]] [[&amp;#039;&lt;br /&gt;
      .. e.slug .. &amp;#039;|&amp;#039; .. e.name .. &amp;#039;]]&amp;#039;&lt;br /&gt;
  else&lt;br /&gt;
    label = &amp;#039;[[&amp;#039; .. e.slug .. &amp;#039;|&amp;#039; .. e.name .. &amp;#039;]]&amp;#039;&lt;br /&gt;
  end&lt;br /&gt;
  return &amp;#039;&amp;lt;span class=&amp;quot;wm-tip&amp;quot; data-tip-title=&amp;quot;&amp;#039; .. e.slug .. &amp;#039;&amp;quot;&amp;gt;&amp;#039;&lt;br /&gt;
    .. label .. &amp;#039;&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function arg1(frame)&lt;br /&gt;
  local k = frame.args[1] or &amp;#039;&amp;#039;&lt;br /&gt;
  return (k:gsub(&amp;#039;^%s+&amp;#039;, &amp;#039;&amp;#039;):gsub(&amp;#039;%s+$&amp;#039;, &amp;#039;&amp;#039;))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.boosters(frame)&lt;br /&gt;
  local key = arg1(frame)&lt;br /&gt;
  local data = loadData()&lt;br /&gt;
  local list = data and data.stats and data.stats[key]&lt;br /&gt;
  if not list then&lt;br /&gt;
    return &amp;quot;&amp;#039;&amp;#039;No heroes, blessings, upgrades, passives or Crux powers &amp;quot; ..&lt;br /&gt;
      &amp;quot;modify this stat in the current game data.&amp;#039;&amp;#039;&amp;quot;&lt;br /&gt;
  end&lt;br /&gt;
  list = fix(list)&lt;br /&gt;
  local out = { TBL, &amp;#039;|-&amp;#039;,&lt;br /&gt;
    TH .. &amp;#039;Source&amp;#039;, TH .. &amp;#039;Category&amp;#039;, TH .. &amp;#039;Tier / Type&amp;#039;, TH .. &amp;#039;Amount&amp;#039; }&lt;br /&gt;
  for _, e in ipairs(list) do&lt;br /&gt;
    out[#out+1] = &amp;#039;|-&amp;#039;&lt;br /&gt;
    out[#out+1] = &amp;#039;| &amp;#039; .. tipcell(e)&lt;br /&gt;
    out[#out+1] = &amp;#039;| &amp;#039; .. (e.cat or &amp;#039;&amp;#039;)&lt;br /&gt;
    out[#out+1] = &amp;#039;| &amp;#039; .. ((e.tier ~= nil and e.tier ~= &amp;#039;&amp;#039;) and e.tier or &amp;#039;—&amp;#039;)&lt;br /&gt;
    out[#out+1] = &amp;#039;| data-sort-value=&amp;quot;&amp;#039; .. tostring(e.sort or 0) .. &amp;#039;&amp;quot; | &amp;#039;&lt;br /&gt;
      .. (e.value or &amp;#039;&amp;#039;)&lt;br /&gt;
  end&lt;br /&gt;
  out[#out+1] = &amp;#039;|}&amp;#039;&lt;br /&gt;
  return table.concat(out, &amp;#039;\n&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.weapons(frame)&lt;br /&gt;
  local key = arg1(frame)&lt;br /&gt;
  local data = loadData()&lt;br /&gt;
  local list = data and data.element_weapons and data.element_weapons[key]&lt;br /&gt;
  if not list then&lt;br /&gt;
    return &amp;quot;&amp;#039;&amp;#039;No weapons deal this damage type in the current game data.&amp;#039;&amp;#039;&amp;quot;&lt;br /&gt;
  end&lt;br /&gt;
  list = fix(list)&lt;br /&gt;
  local out = { TBL, &amp;#039;|-&amp;#039;,&lt;br /&gt;
    TH .. &amp;#039;Weapon&amp;#039;, TH .. &amp;#039;Class&amp;#039;, TH .. &amp;#039;Tier&amp;#039;, TH .. key }&lt;br /&gt;
  for _, e in ipairs(list) do&lt;br /&gt;
    out[#out+1] = &amp;#039;|-&amp;#039;&lt;br /&gt;
    out[#out+1] = &amp;#039;| &amp;#039; .. tipcell(e)&lt;br /&gt;
    out[#out+1] = &amp;#039;| &amp;#039; .. (e[&amp;#039;class&amp;#039;] or &amp;#039;&amp;#039;)&lt;br /&gt;
    out[#out+1] = &amp;#039;| &amp;#039; .. (e.tier or &amp;#039;&amp;#039;)&lt;br /&gt;
    out[#out+1] = &amp;#039;| data-sort-value=&amp;quot;&amp;#039; .. tostring(e.sort or 0) .. &amp;#039;&amp;quot; | &amp;#039;&lt;br /&gt;
      .. (e.value or &amp;#039;&amp;#039;)&lt;br /&gt;
  end&lt;br /&gt;
  out[#out+1] = &amp;#039;|}&amp;#039;&lt;br /&gt;
  return table.concat(out, &amp;#039;\n&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Ta1ha</name></author>
	</entry>
</feed>