Template:XC2 Core Chip weapon table

{{#loop:i|0|{{#arraysize:wpnclasses}}|{{#vardefine:totaldamage|{{#expr:{{#var:totaldamage}}+{{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_Damage}}}}}}}{{#vardefine:totalstability|{{#expr:{{#var:totalstability}}+{{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_Stability}}}}}}}{{#vardefine:totalcritical|{{#expr:{{#var:totalcritical}}+{{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_CriRate}}}}}}}{{#vardefine:totalguard|{{#expr:{{#var:totalguard}}+{{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_GuardRate}}}}}}}{{#set: }}}}{{#set: }} Lists weapons created through a certain Core Chip. Needs Create_Wpn1 from ITM_PcWpnChip and for each weapon (with the prefix WpnX) the values Name, DebugName, Rank, RscR, RscL, TypeRange, Damage, Stability, CriRate, GuardRate, Private and Enhance1 (including EnhanceEffect, Param1 and Param2 from BTL_Enhance) from ITM_PcWpn.
 * xc2 core chip create wpn {{#arrayindex:wpnclasses|{{#var:i}}}} = {{{CreateWpn{{#arrayindex:wpnclasses|{{#var:i}}}}|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} name = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_Name|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} debug name = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_DebugName|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} rank = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_Rank|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} rscr = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_RscR|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} rscl = {{{Wpn{{{#arrayindex:wpnclasses|{{#var:i}}}}_RscL|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} type range = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_TypeRange|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} damage = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_Damage|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} stability = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_Stability|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} critical rate = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_CriRate|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} guard rate = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_GuardRate|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} enhance 1 = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_Enhance1|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} enhance effect = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_EnhanceEffect|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} param 1 = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_Param1|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} param 2 = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_Param2|}}}
 * xc2 core chip wpn {{#arrayindex:wpnclasses|{{#var:i}}}} private = {{{Wpn{{#arrayindex:wpnclasses|{{#var:i}}}}_Private|}}}
 * xc2 core chip avg Damage = {{#expr:{{#var:totaldamage}}/23}}
 * xc2 core chip avg Stability = {{#expr:{{#var:totalstability}}/23}}
 * xc2 core chip avg CriRate = {{#expr:{{#var:totalcritical}}/23}}
 * xc2 core chip avg GuardRate = {{#expr:{{#var:totalguard}}/23}}