Line 213: |
Line 213: |
| if values[1]["Enemy Air Power"] ~= "" and values[1]["Enemy Air Power"] ~= "0" and values[1]["Enemy Air Power"] ~= "?" and values[1]["Enemy Air Power"] ~= nil then | | if values[1]["Enemy Air Power"] ~= "" and values[1]["Enemy Air Power"] ~= "0" and values[1]["Enemy Air Power"] ~= "?" and values[1]["Enemy Air Power"] ~= nil then |
| td | | td |
| + | :wikitext("AP:") |
| + | :wikitext(math.ceil(2/3 * values[1]["Enemy Air Power"])) |
| + | :wikitext("<br>") |
| :wikitext("AS:") | | :wikitext("AS:") |
| :wikitext(math.ceil(1.5 * values[1]["Enemy Air Power"])) | | :wikitext(math.ceil(1.5 * values[1]["Enemy Air Power"])) |
Line 280: |
Line 283: |
| if values[i]["Enemy Air Power"] ~= "" and values[i]["Enemy Air Power"] ~= "0" and values[i]["Enemy Air Power"] ~= "?" then | | if values[i]["Enemy Air Power"] ~= "" and values[i]["Enemy Air Power"] ~= "0" and values[i]["Enemy Air Power"] ~= "?" then |
| td | | td |
| + | :wikitext("AP:") |
| + | :wikitext(math.ceil(2/3 * values[i]["Enemy Air Power"])) |
| + | :wikitext("<br>") |
| :wikitext("AS:") | | :wikitext("AS:") |
| :wikitext(math.ceil(1.5 * values[i]["Enemy Air Power"])) | | :wikitext(math.ceil(1.5 * values[i]["Enemy Air Power"])) |
Line 428: |
Line 434: |
| } | | } |
| local formTable = { | | local formTable = { |
− | ["line_ahead"] = "[[file:LineAhead.jpg|Formation 1: Line Ahead|40px|center]]", | + | ["line_ahead"] = "[[file:LineAhead.png|Formation 1: Line Ahead|40px|center]]", |
− | ["double_line"] = "[[file:DoubleLine.jpg|Formation 2: Double Line|40px|center]]", | + | ["double_line"] = "[[file:DoubleLine.png|Formation 2: Double Line|40px|center]]", |
− | ["diamond"] = "[[file:Diamond.jpg|Formation 3: Diamond|40px|center]]", | + | ["diamond"] = "[[file:Diamond.png|Formation 3: Diamond|40px|center]]", |
− | ["echelon"] = "[[file:Echelon.jpg|Formation 4: Echelon|40px|center]]", | + | ["echelon"] = "[[file:Echelon.png|Formation 4: Echelon|40px|center]]", |
− | ["line_abreast"] = "[[file:LineAbreast.jpg|Formation 5: Line Abreast|40px|center]]", | + | ["line_abreast"] = "[[file:LineAbreast.png|Formation 5: Line Abreast|40px|center]]", |
| ["vanguard"] = "[[file:Vanguard.png|Formation 6: Vanguard|40px|center]]", | | ["vanguard"] = "[[file:Vanguard.png|Formation 6: Vanguard|40px|center]]", |
| ["none"] = "None<br>Displayed", | | ["none"] = "None<br>Displayed", |
Line 441: |
Line 447: |
| } | | } |
| local enemyShipTable = { | | local enemyShipTable = { |
− | ["dd_i%-class[%s]"] = '[[File:Seikan501Banner.png|2|160px|Destroyer I-Class|link=Destroyer I-Class]]',
| + | ["dd_i%-class[%s$]"] = '[[File:Seikan501Banner.png|2|160px|Destroyer I-Class|link=Destroyer I-Class]]', |
− | ["dd_i%-class_elite[%s]"] = '[[File:Seikan514Banner.png|2|160px|Destroyer I-Class elite|link=Destroyer I-Class]]',
| + | ["dd_i%-class_elite[%s$]"] = '[[File:Seikan514Banner.png|2|160px|Destroyer I-Class elite|link=Destroyer I-Class]]', |
− | ["dd_i%-class_flagship[%s]"] = '[[File:Seikan564Banner.png|2|160px|Destroyer I-Class flagship|link=Destroyer I-Class]]',
| + | ["dd_i%-class_flagship[%s$]"] = '[[File:Seikan564Banner.png|2|160px|Destroyer I-Class flagship|link=Destroyer I-Class]]', |
− | ["dd_i%-class_late_model[%s]"] = '[[File:Seikan575Banner.png|2|160px|Destroyer I-Class Late Model|link=Destroyer I-Class]]',
| + | ["dd_i%-class_late_model[%s$]"] = '[[File:Seikan575Banner.png|2|160px|Destroyer I-Class Late Model|link=Destroyer I-Class]]', |
− | ["dd_i%-class_late_model_elite[%s]
| + | ["dd_i%-class_late_model_elite |
| } | | } |
| | | |