Line 114: |
Line 114: |
| end | | end |
| -- Air superiority is a bit different so account for it | | -- Air superiority is a bit different so account for it |
− | if headers["Air Superiority"] or headers["Air Supremacy"] then | + | if headers["Enemy Air Power"] then |
| th = mw.html.create("th") | | th = mw.html.create("th") |
| th:wikitext("Air") | | th:wikitext("Air") |
Line 168: |
Line 168: |
| end | | end |
| end | | end |
− | if headers["Air Superiority"] == true or headers["Air Supremacy"] == true then | + | if headers["Enemy Air Power"] == true then |
| td = mw.html.create("td") | | td = mw.html.create("td") |
| td:css("font-weight","bold") | | td:css("font-weight","bold") |
| td:css("text-align","center") | | td:css("text-align","center") |
− | if values[1]["Air Superiority"] ~= "" then | + | if values[1]["Enemy Air Power"] == "0" then |
| td | | td |
− | :wikitext("AS") | + | :wikitext("AS/AS+") |
| :wikitext("<br>") | | :wikitext("<br>") |
− | :wikitext(values[1]["Air Superiority"]) | + | :wikitext("Automatic") |
| end | | end |
− | if values[1]["Air Supremacy"] ~= "" then | + | if values[1]["Enemy Air Power"] ~= "" and values[1]["Enemy Air Power"] ~= "0" then |
− | if values[1]["Air Superiority"] ~= "" then td:wikitext("<br>") end
| |
| td | | td |
| + | :wikitext("AS") |
| + | :wikitext("<br>") |
| + | :wikitext(math.floor(1.5 * values[1]["Enemy Air Power"])) |
| + | :wikitext("<br>") |
| :wikitext("AS+") | | :wikitext("AS+") |
| :wikitext("<br>") | | :wikitext("<br>") |
− | :wikitext(values[1]["Air Supremacy"]) | + | :wikitext(3 * values[1]["Enemy Air Power"]) |
| end | | end |
| firstRow:node(td) | | firstRow:node(td) |
Line 224: |
Line 227: |
| end | | end |
| end | | end |
− | if headers["Air Superiority"] == true or headers["Air Supremacy"] == true then | + | if headers["Enemy Air Power"] == true then |
| td = mw.html.create("td") | | td = mw.html.create("td") |
| td:css("font-weight","bold") | | td:css("font-weight","bold") |
| td:css("text-align","center") | | td:css("text-align","center") |
− | if values[i]["Air Superiority"] ~= "" then | + | if values[i]["Enemy Air Power"] == "0" then |
| td | | td |
− | :wikitext("AS") | + | :wikitext("AS/AS+") |
| :wikitext("<br>") | | :wikitext("<br>") |
− | :wikitext(values[i]["Air Superiority"]) | + | :wikitext("Automatic") |
| end | | end |
− | if values[i]["Air Supremacy"] ~= "" then | + | if values[i]["Enemy Air Power"] ~= "" and values[i]["Enemy Air Power"] ~= "0" then |
− | if values[i]["Air Superiority"] ~= "" then td:wikitext("<br>") end
| |
| td | | td |
| + | :wikitext("AS") |
| + | :wikitext("<br>") |
| + | :wikitext(math.floor(1.5 * values[i]["Enemy Air Power"])) |
| + | :wikitext("<br>") |
| :wikitext("AS+") | | :wikitext("AS+") |
| :wikitext("<br>") | | :wikitext("<br>") |
− | :wikitext(values[i]["Air Supremacy"]) | + | :wikitext(3 * values[i]["Enemy Air Power"]) |
| end | | end |
| row:node(td) | | row:node(td) |
Line 263: |
Line 269: |
| ["Node Info"] = false, | | ["Node Info"] = false, |
| ["Form"] = false, | | ["Form"] = false, |
− | ["Air Supremacy"] = false, | + | ["Enemy Air Power"] = false} |
− | ["Air Superiority"] =false}
| |
| local validNodeLetters = {["A"]=true, | | local validNodeLetters = {["A"]=true, |
| ["B"]=true, | | ["B"]=true, |
Line 354: |
Line 359: |
| ["Node Info"] = "", | | ["Node Info"] = "", |
| ["Form"] = "", | | ["Form"] = "", |
− | ["Air Supremacy"] = "", | + | ["Enemy Air Power"] = "", |
− | ["Air Superiority"] = ""} | + | } |
| mapEncounterTable[letter][patternNum] = nodePatternInfo | | mapEncounterTable[letter][patternNum] = nodePatternInfo |
| end | | end |
Line 488: |
Line 493: |
| ["battleship_princess"] = '[[File:Bb_hime_card.png|160px|Battleship Princess|link=Battleship Princess]]', | | ["battleship_princess"] = '[[File:Bb_hime_card.png|160px|Battleship Princess|link=Battleship Princess]]', |
| ["harbor_princess"] = '[[File:Harbor_hime_card.JPG|160px|Harbour Princess|link=Harbour Princess]]', | | ["harbor_princess"] = '[[File:Harbor_hime_card.JPG|160px|Harbour Princess|link=Harbour Princess]]', |
| + | ["harbor_princess_4%-5_final_form"] = '[[File:Harbor Princess 613 Banner.png|160px|Harbour Princess|link=Harbour Princess]]', |
| ["isolated_island_demon"] = '[[File:Isolated_Island_Oni_card.jpg|160px|Isolated Island Demon|link=Isolated Island Demon]]', | | ["isolated_island_demon"] = '[[File:Isolated_Island_Oni_card.jpg|160px|Isolated Island Demon|link=Isolated Island Demon]]', |
| ["northern_princess"] = '[[File:581_Card.jpg|160px|Northern Princess|link=Northern Princess]]', | | ["northern_princess"] = '[[File:581_Card.jpg|160px|Northern Princess|link=Northern Princess]]', |