Changes

m
no edit summary
Line 1: Line 1: −
{{#if:{{{no_intro|}}}||The opening anti-submarine attack ([[OASW]]) can be performed by a ship that meets the minimum required visible ASW stat and necessary equipment requirements. In the case of a combined fleet, only the escort fleet can participate in the OASW.}}
+
{{:Combat/Battle Opening}}
   −
{|class="wikitable" style="width:1050px; text-align: center; margin-left: auto; margin-right: auto; vertical-align: middle;"
  −
!style="width: 25%;"|OASW Ship
  −
!ASW Stat Required
  −
!Equipment Required
  −
!Notes
  −
|-
  −
! Any Destroyer/Light Cruiser/Torpedo Cruiser/Fleet Oiler/Training Cruiser
  −
| '''100+ ASW'''
  −
| {{Sonar}} '''1 Sonar Equipped'''
  −
| ASW Stat Required '''does''' include<br>[[Equipment_Bonuses|visible equipment bonuses]]
  −
|-
  −
! rowspan="2"| Any Coastal Defense Ship
  −
| '''60+ ASW'''
  −
| {{Sonar}} '''1 Sonar Equipped'''
  −
|-
  −
| '''75+ ASW'''
  −
| Total of '''4+ ASW''' from equipment.
  −
|ASW Stat Required '''does''' include<br>[[Equipment_Bonuses|visible equipment bonuses]]<br><br>[[Equipment_Bonuses|Visible equipment bonuses]] <br>don't count as equipment ASW.
  −
|-
  −
! {{Ship/Banner|Isuzu/Kai Ni|small=true}}<br />{{Ship/Banner|Tatsuta/Kai Ni|small=true}}<br />{{ItemStack|item={{Ship/Banner|Yuubari/Kai Ni D|small=true}}|text=Kai Ni D}}<br />{{Ship/Banner|Jervis/Kai|small=true}}<br />{{Ship/Banner|Janus/Kai|small=true}}<br />{{Ship/Banner|Fletcher|small=true}}<br />{{Ship/Banner|Johnston|small=true}}<br />{{Ship/Banner|Samuel B. Roberts/Kai|small=true}}
  −
| '''Can OASW innately'''
  −
| '''N/A'''
  −
|-
  −
! Any Light Aircraft Carrier<!--<br/>(Except {{ShipLink|Suzuya Carrier Kai Ni|text=Suzuya}}/{{ShipLink|Kumano Carrier Kai Ni|text=Kumano}}) NEEDS SOURCE-->
  −
| '''50+ ASW'''
  −
| {{Sonar}} '''+''' {{BluePlane}} {{ASWPlane}} {{Autogyro}}<br />'''SONAR''' + Any with '''7+ ASW'''
  −
| rowspan=2 | ASW Stat Required '''does''' include<br>[[Equipment_Bonuses|visible equipment bonuses]]<br><br>[[Equipment_Bonuses|Visible equipment bonuses]] <br>don't count as equipment ASW.
  −
|-
  −
!rowspan="2"|{{Ship/Banner|Taiyou|small=true}}<br />{{Ship/Banner|Unyou|small=true}}<br />{{Ship/Banner|Shinyou|small=true}}<br />{{Ship/Banner|Gambier Bay|small=true}}<br />{{ItemStack|item={{Ship/Banner|Zuihou/Kai Ni B|small=true}}|text=Kai Ni B}}<br />{{Ship/Banner|Ryuuhou/Kai Ni|small=true}}
  −
| '''65+ ASW'''
  −
| {{BluePlane}} {{ASWPlane}} {{Autogyro}}<br />Any with '''7+ ASW'''
  −
|-
  −
| '''100+ ASW'''
  −
| {{Sonar}} '''+''' {{RedPlane}} {{BluePlane}} {{ASWPlane}} {{Autogyro}}<br />'''SONAR''' + Any Plane with '''1+ ASW'''
  −
| ASW Stat Required '''does''' include<br>[[Equipment_Bonuses|visible equipment bonuses]]
  −
|-
  −
!{{Ship/Banner|Taiyou/Kai|small=true}}<br />{{Ship/Banner|Unyou/Kai|small=true}}<br />{{Ship/Banner|Shinyou/Kai|small=true}}<br />{{ItemStack|item={{Ship/Banner|Kaga/Kai Ni Go|small=true}}|text=Kai Ni Go}}
  −
| '''N/A'''
  −
| {{RedPlane}} {{BluePlane}} {{ASWPlane}} {{Autogyro}}<br />Any Plane with '''1+ ASW'''
  −
|-
  −
!{{Ship/Banner|Hyuuga/Kai Ni|small=true}}
  −
| '''N/A'''
  −
| {{Autogyro}}{{Autogyro}}'''2 {{EquipmentLink|Ka Type Observation Autogyro|O Type Observation Autogyro Kai|O Type Observation Autogyro Kai Ni|text=Autogryos}}'''<br />-or-<br />{{Autogyro}}'''1 {{EquipmentLink|S-51J|S-51J Kai|text=Helicopter}}'''.
  −
|-
  −
!{{Ship/Banner|Shinshuu Maru/Kai|small=true}}<br>{{Ship/Banner|Fusou/Kai Ni|small=true}}<br>{{Ship/Banner|Yamashiro/Kai Ni|small=true}}
  −
| '''100+ ASW'''
  −
| {{Sonar}} '''+''' {{ItemStack|item={{Seaplane}}|text=Bomber|font-size = 9px|text-color = fff|glow-color = 000|text-position = right:0px;bottom:-12px}} {{Autogyro}}<br />'''SONAR''' + Seaplane Bomber or Autogyro.
  −
|}
  −
  −
*If several ships fulfill the requirements, then they all can perform preemptive attacks, each attacking a random submarine in the enemy fleet. The firing order is determined by the range order, similar to the First Shelling Phase. The order for ships of the same range is random.
  −
*The damage follows the [[Damage Calculations|usual ASW formula]] and is affected by the usual modifiers (formation, engagement, health, ammo), as well as equipment [[Improvement|improvements]].
  −
<!--
  −
function group(array) {
  −
    const groups = [];
  −
    let i = 0;
  −
    for (const element of array) {
  −
        if (!groups[i]) {
  −
            groups.push({count: 1, element: element});
  −
        } else if (element === groups[i].element) {
  −
            ++groups[i].count;
  −
        } else {
  −
            ++i;
  −
            groups.push({count: 1, element: element});
  −
        }
  −
    }
  −
    return groups;
  −
}
  −
  −
function calc_level_for_asw(remodel_level, base, max, target) {
  −
    const level = Math.ceil(99 * (target - base) / (max - base));
  −
    return level < remodel_level ? remodel_level : level;
  −
}
  −
  −
const oasw_breakpoints = [64, 66, 68, 70, 72, 76, 78, 80, 82, 88, 90];
  −
  −
function calc_levels_for_asw(ship, remodel_level, base, max) {
  −
    return oasw_breakpoints.map((target) => calc_level_for_asw(remodel_level, base, max, target));
  −
}
  −
  −
function gen_row(ship, remodel_level, base, max) {
  −
    const format_cell = (group) => `|${group.count > 1 ? `colspan="${group.count}" ` : ""}style="background:#${group.element < 90 ? "c8e6c9" : group.element < 100 ? "ffe0b2" : group.element <= 155 ? "ffcdd2" : "cfd8dc"}"|${group.element <= 155 ? group.element : "N/A"}`
  −
    return `|-\n|{{Ship/Link|${ship}}}\n${group(calc_levels_for_asw(ship, remodel_level, base, max)).map(format_cell).join("\n")}`;
  −
}
  −
  −
// e.g.
  −
// gen_row("Asashio Kai Ni D", 85, 45, 89);
  −
-->
   
===OASW Level Table===
 
===OASW Level Table===
 
The following tables show how much base ASW is needed (in form of required ship level) to enable OASW with a given equipment setup (T4: [[Type 4 Passive Sonar]], T3: [[Type 3 Active Sonar]], DC: [[Type 3 Depth Charge Projector]] ASWR: [[Prototype 15cm 9-tube ASW Rocket Launcher]]).
 
The following tables show how much base ASW is needed (in form of required ship level) to enable OASW with a given equipment setup (T4: [[Type 4 Passive Sonar]], T3: [[Type 3 Active Sonar]], DC: [[Type 3 Depth Charge Projector]] ASWR: [[Prototype 15cm 9-tube ASW Rocket Launcher]]).
42,824

edits