Changes

update adjustedAA/prop/fixed formulas, AACI resist formula/values
Line 180: Line 180:     
==Adjusted Anti-Air==
 
==Adjusted Anti-Air==
Adjusted Anti-Air is a set of values derived from each ship and the entire fleet. For a single ship, this value applies weights on different pieces of equipment to further increase its effectiveness against enemy air threats. For the fleet, this value has the objective of further increasing the influence of particularly high Anti-Air ships on either side by strengthening the entire fleet's air defense performance.
+
Adjusted Anti-Air is a set of values derived from each ship and the entire fleet. For a single ship, this value '''Ship Adjusted AA''' applies weights on different pieces of equipment to further increase its effectiveness against enemy air threats. For the fleet, this value '''Fleet Adjusted AA''' has the objective of further increasing the influence of particularly high Anti-Air ships on either side by strengthening the entire fleet's air defense performance.
      Line 190: Line 190:  
*'''Ship Adjusted AA''' of each ship is defined by<ref>https://docs.google.com/document/d/1tqYyqzdc1RT_fYDKFMcUId0kOZHCdGpVsObm6yt-Yco/edit#heading=h.9md7m3uoezjq</ref>:
 
*'''Ship Adjusted AA''' of each ship is defined by<ref>https://docs.google.com/document/d/1tqYyqzdc1RT_fYDKFMcUId0kOZHCdGpVsObm6yt-Yco/edit#heading=h.9md7m3uoezjq</ref>:
 
*<math>\text{AdjAA}_\text{ship} = \text{AA}_\text{ship} + \sum^{\text{All Equip}} \left( \text{AA}_\text{Equip} \times \text{Mod}_\text{Equip-Ship} + \text{AA}_\text{★-Equip} \right)</math>
 
*<math>\text{AdjAA}_\text{ship} = \text{AA}_\text{ship} + \sum^{\text{All Equip}} \left( \text{AA}_\text{Equip} \times \text{Mod}_\text{Equip-Ship} + \text{AA}_\text{★-Equip} \right)</math>
 +
* Then, if ship has any equipment equipped: <math>\text{AdjAA}_\text{ship} = 2 \times \bigg\lfloor\frac{\text{AdjAA}_\text{ship}}{2}\bigg\rfloor</math> (rounded down to the nearest multiple of 2)
      Line 198: Line 199:  
'''Enemy Fleet'''
 
'''Enemy Fleet'''
 
*'''Ship Adjusted AA''' of each ship is defined by:
 
*'''Ship Adjusted AA''' of each ship is defined by:
*<math>\text{AdjAA}_\text{enemy ship} = 2 \times \sqrt{\text{AA}_\text{ship} + \sum^{\text{All Equip}} \text{AA}_\text{Equip}} + \sum^{\text{All Equip}} ( \text{AA}_\text{Equip} \times \text{Mod}_\text{Equip-Ship} )</math>
+
*<math>\text{AdjAA}_\text{enemy ship} = 2 \times \Bigg\lfloor \sqrt{\text{AA}_\text{ship} + \sum^{\text{All Equip}} \text{AA}_\text{Equip}} \Bigg\rfloor + \sum^{\text{All Equip}} ( \text{AA}_\text{Equip} \times \text{Mod}_\text{Equip-Ship} )</math>
 +
* Then: <math>\text{AdjAA}_\text{enemy ship} = 2 \times \bigg\lfloor\frac{\text{AdjAA}_\text{enemy ship}}{2}\bigg\rfloor</math> (rounded down to the nearest multiple of 2)
      Line 207: Line 209:  
With:
 
With:
 
* <math>\text{AA}_\text{ship}</math> the base {{AA}} AA stat of the ship.
 
* <math>\text{AA}_\text{ship}</math> the base {{AA}} AA stat of the ship.
* <math>\text{AA}_\text{Equip}</math> the {{AA}} AA stat of the equipment, including [[Equipment Bonuses|visible bonuses]].
+
* <math>\text{AA}_\text{Equip}</math> the {{AA}} AA stat of the equipment
 +
** [[Equipment Bonuses|Visible bonuses]] are included to some extent, but actual amount is unconfirmed<ref>Estimated to be about 0.75-0.8 but not a precise fit: https://twitter.com/nishikkuma/status/1555196188621946884</ref>
 
* <math>\text{AA}_\text{★-Equip}</math> the "equipment" {{AA}} AA stat gained from [[Improvement]]s.
 
* <math>\text{AA}_\text{★-Equip}</math> the "equipment" {{AA}} AA stat gained from [[Improvement]]s.
 
* <math>\text{AA}_\text{★-Fleet}</math> the "fleet" {{AA}} AA stat gained from [[Improvement]]s.
 
* <math>\text{AA}_\text{★-Fleet}</math> the "fleet" {{AA}} AA stat gained from [[Improvement]]s.
Line 227: Line 230:  
|0||0.6
 
|0||0.6
 
|-
 
|-
!{{RedGunHeavy}}<br>{{EquipmentLink|46cm Triple Gun Mount}}<ref>Other guns like the {{EquipmentLink|Prototype 46cm Twin Gun Mount|46cm Triple Gun Mount Kai|text=46 cm variants}} may also count, but are untested yet.</ref>
+
!{{RedGunHeavy}}<br>{{EquipmentLink|46cm Triple Gun Mount}}<ref>Other guns like the {{EquipmentLink|Prototype 46cm Twin Gun Mount|46cm Triple Gun Mount Kai|text=46 cm variants}} are untested.</ref>
 
|0||0.25
 
|0||0.25
 
|-
 
|-
Line 243: Line 246:     
==Proportional and Fixed shootdowns==
 
==Proportional and Fixed shootdowns==
With the Adjusted AA values calculated, it's now possible to determine the shootdown for each ship. The same ship may defend against multiple bombers at once. For each bomber, a ship defends against, it will roll an independent activation of both "Prop" and "Fixed" and then decrease the slot by the resulting values.
+
*'''Ship Adjusted AA''' is used to calculate '''Proportional shootdown'''.
 +
*'''Ship Adjusted AA''' and '''Fleet Adjusted AA''' are used to calculate '''Fixed shootdown'''.
    
{|class="wikitable mw-collapsible mw-collapsed" width="100%"
 
{|class="wikitable mw-collapsible mw-collapsed" width="100%"
!Shootdown Formulas
+
!Prop/Fixed Shootdown Formulas
 
|-
 
|-
 
|
 
|
 
'''Allied Fleet's ship''':
 
'''Allied Fleet's ship''':
   −
*<math>\text{Prop}= \Bigg\lfloor \frac{\text{AdjAA}_\text{ship} \times \text{Plane}_\text{Count} \times random[0 ; 1]}{400} + \text{AACI}_\text{cst1} \times \text{AAR}_\text{ship} \Bigg\rfloor</math>
+
*<math>\text{Prop}= \left \lfloor \frac{\lfloor\text{AdjAA}_\text{ship} \times \text{AAR}_\text{ship}\rfloor \times \text{Mod}_\text{CF}}{400} \times \text{Plane}_\text{Count} \right \rfloor</math>
   −
*<math>\text{Fixed}= \Bigg\lfloor \frac{ ( \text{AdjAA}_\text{enemy ship} + \text{AdjAA}_\text{enemy fleet} ) \times \text{Mod}_\text{CF} \times \text{AACI}_\text{cst3} }{10} +\text{AACI}_\text{cst2} \Bigg\rfloor</math>
+
*<math>\text{Fixed}= \left \lfloor \frac{ \left( \lfloor \text{AdjAA}_\text{ship} \times \text{AAR}_\text{ship} \rfloor + \lfloor \text{AdjAA}_\text{fleet} \times \text{AAR}_\text{fleet} \rfloor \right) \times \text{Mod}_\text{CF} \times \text{K}_\text{value}}{10} \right \rfloor</math>
       
'''Enemy Fleet's ship''':
 
'''Enemy Fleet's ship''':
   −
*<math>\text{Prop}= \Bigg\lfloor \frac{\text{AdjAA}_\text{enemy ship} \times \text{Plane}_\text{Count} \times random[0 ; 1]}{400} + \text{AACI}_\text{cst1} \times \text{AAR}_\text{ship} \Bigg\rfloor</math>
+
*<math>\text{Prop}= \left \lfloor \frac{\lfloor\text{AdjAA}_\text{enemy ship} \times \text{AAR}_\text{ship}\rfloor \times \text{Mod}_\text{CF}}{400} \times \text{Plane}_\text{Count} \right \rfloor</math>
 
  −
*<math>\text{Fixed}= \Bigg\lfloor \frac{ ( \text{AdjAA}_\text{enemy ship} + \text{AdjAA}_\text{enemy fleet} ) \times \text{Mod}_\text{CF} \times \text{AACI}_\text{cst3} \times 0.75 }{8} \times \text{AACI}_\text{cst2} \Bigg\rfloor</math>
      +
*<math>\text{Fixed}= \Bigg\lfloor \frac{ \left( \lfloor \text{AdjAA}_\text{enemy ship} \times \text{AAR}_\text{ship} \rfloor + \lfloor \text{AdjAA}_\text{enemy fleet} \times \text{AAR}_\text{fleet} \rfloor \right) \times \text{Mod}_\text{CF} \times \text{K}_\text{value} \times 0.75 }{8} \Bigg\rfloor</math>
    
With:
 
With:
* <math>\text{AdjAA}_\text{xx}</math> the previously calculated '''[[#Adjusted Anti-Air]]'''.
+
* <math>\text{AdjAA}_\text{xx}</math> is the previously calculated '''[[#Adjusted Anti-Air|Adjusted Anti-Air]]'''.
* <math>\text{Plane}_\text{Count}</math> the current number of attacking planes.
+
* <math>\text{Plane}_\text{Count}</math> is the current number of attacking planes.
* <math>\text{Mod}_\text{CF}</math> the [[Combined Fleet]] modifier, being:
+
* <math>\text{Mod}_\text{CF}</math> is the [[Combined Fleet]] modifier, being:
** '''1''' in Single Fleets,
+
** '''1''' in Single Fleets
** '''0.8''' if the ship is in a CF's main fleet on Surface Nodes,
+
** '''0.8''' if the ship is in a CF's main fleet on Surface Nodes
** '''0.72''' if the ship is in a CF's main fleet on Air Nodes,
+
** '''0.72''' if the ship is in a CF's main fleet on Air Raid Nodes
** '''0.48''' if the ship is in a CF's escort fleet.
+
** '''0.48''' if the ship is in a CF's escort fleet
* <math>\text{AAR}_\text{ship} = </math> is the attacking plane's '''Ship AA Resist'''.
+
* <math>\text{K}_\text{value}</math> is the Anti Air Cut-in (AACI) multiplier.
* <math>\text{AAR}_\text{fleet} = </math> is the attacking plane's '''Fleet AA Resist'''.
+
** '''1''' if no AACI triggers
 +
** See [[#Anti-Air Cut-in|K-value column of AACI Patterns]] for values.
 +
* <math>\text{AAR}_\text{ship}</math> is the attacking plane's '''Ship AA Resist'''.
 +
* <math>\text{AAR}_\text{fleet}</math> is the attacking plane's '''Fleet AA Resist'''.
 +
|}
    +
{|class="wikitable mw-collapsible mw-collapsed" width="100%"
 +
!Guaranteed Shootdown Formula
 +
|-
 +
|
 +
*<math>\text{Guaranteed}= \lfloor \text{AACI}_\text{shotA} \times \text{AAR}_\text{AACI} \rfloor + \text{AACI}_\text{shotB}</math>
   −
'''AACI''' the Anti Air Cut-in multipliers:
+
With:
*If no ACCI triggers:
+
* <math>\text{AAR}_\text{AACI}</math> is the attacking plane's '''AACI Resist'''.
**Ally
+
**Value is suspected to be equal to <math>\text{AAR}_\text{ship}</math>, but not confirmed for all planes.<ref>https://github.com/noro6/kc-web/blob/main/src/classes/aerialCombat/shootDownInfo.ts#L115</ref>
***<math>\text{AACI}_\text{cst1} = 1</math>  
+
* <math>\text{AACI}_\text{shotA}</math> and <math>\text{AACI}_\text{shotB}</math> are Anti Air Cut-in (AACI) Shot-down values
***<math>\text{AACI}_\text{cst2} = 0</math>
+
** See [[#Anti-Air Cut-in|Shot down per slot column of AACI Patterns]] for values in tooltips.
***<math>\text{AACI}_\text{cst3} = 1</math>
+
*** Player fleet uses <math>\text{AACI}_\text{shotA} = 1</math>, <math>\text{AACI}_\text{shotB} = 0</math> if no AACI triggered
**Enemy
+
*** Enemy fleet uses <math>\text{AACI}_\text{shotA} = 0</math>, <math>\text{AACI}_\text{shotB} = 0</math> if no AACI triggered
***<math>\text{AACI}_\text{cst1} = 0</math>  
+
*** Values for API values after 13 are unconfirmed
***<math>\text{AACI}_\text{cst2} = 0</math>
  −
***<math>\text{AACI}_\text{cst3} = 1</math>
     −
*If an ACCI triggers:
+
<references/>
**<math>\text{AACI}_\text{cst1} = \text{AACI}_\text{cstA}</math>
  −
**<math>\text{AACI}_\text{cst2} = \text{AACI}_\text{cstB}</math>
  −
**<math>\text{AACI}_\text{cst3} = \text{AACI}_\text{cstC} = \text{K}_\text{Value}</math> ''see [[#Anti-Air Cut-in|bellow]] for values''.
   
|}
 
|}
   Line 316: Line 323:  
* {{GreenGunMG}} is used to indicate any '''[[:Category:Anti-Air_Gun|AA Machine Gun]]'''.
 
* {{GreenGunMG}} is used to indicate any '''[[:Category:Anti-Air_Gun|AA Machine Gun]]'''.
   −
* {{CDMG}} is a custom icon used to indicate any '''{{EquipmentLink|25mm Triple Autocannon Mount (Concentrated Deployment)|Bofors 40mm Quadruple Autocannon Mount|QF 2-pounder Octuple Pom-pom Gun Mount|text=Powerfull AA Gun|link_category=Special MG}}''', AA-Guns with {{AA}} AA stat of '''9''' or higher.
+
* {{CDMG}} is a custom icon used to indicate any '''{{EquipmentLink|25mm Triple Autocannon Mount (Concentrated Deployment)|Bofors 40mm Quadruple Autocannon Mount|QF 2-pounder Octuple Pom-pom Gun Mount|text=Powerful AA Gun|link_category=Special MG}}''', AA-Guns with {{AA}} AA stat of '''9''' or higher.
 
**Also called '''{{EquipmentLink|25mm Triple Autocannon Mount (Concentrated Deployment)|text=Concentrated Deployment Machine Gun}} (CDMG)''' sometime.
 
**Also called '''{{EquipmentLink|25mm Triple Autocannon Mount (Concentrated Deployment)|text=Concentrated Deployment Machine Gun}} (CDMG)''' sometime.
   Line 336: Line 343:  
!None
 
!None
 
|'''-'''
 
|'''-'''
|'''+1'''
+
|{{ToolTip|'''+1'''|A <nowiki>=</nowiki> 1, B <nowiki>=</nowiki> 0}}
 
|1.0
 
|1.0
 
|N/A
 
|N/A
Line 344: Line 351:  
!1
 
!1
 
|nowrap|'''HHR'''<br>{{GreenGunDP}} {{GreenGunDP}} {{Radar}}
 
|nowrap|'''HHR'''<br>{{GreenGunDP}} {{GreenGunDP}} {{Radar}}
|'''+8'''
+
|{{ToolTip|'''+8'''|A <nowiki>=</nowiki> 3, B <nowiki>=</nowiki> 5}}
 
|nowrap|1.7
 
|nowrap|1.7
 
|65%
 
|65%
Line 352: Line 359:  
!2
 
!2
 
|nowrap|HR<br>{{GreenGunDP}} {{Radar}}
 
|nowrap|HR<br>{{GreenGunDP}} {{Radar}}
| +7
+
|{{ToolTip|+7|A <nowiki>=</nowiki> 3, B <nowiki>=</nowiki> 4}}
 
|1.7
 
|1.7
 
|58%
 
|58%
Line 359: Line 366:  
!3
 
!3
 
|nowrap|HH<br>{{GreenGunDP}} {{GreenGunDP}}
 
|nowrap|HH<br>{{GreenGunDP}} {{GreenGunDP}}
| +5
+
|{{ToolTip|+5|A <nowiki>=</nowiki> 2, B <nowiki>=</nowiki> 3}}
 
|1.6
 
|1.6
 
|50%
 
|50%
Line 366: Line 373:  
!4
 
!4
 
|nowrap|MSAR<br>{{RedGunHeavy}} {{GreenAmmo}} {{AntiAircraftFireDirector}}{{Radar}}
 
|nowrap|MSAR<br>{{RedGunHeavy}} {{GreenAmmo}} {{AntiAircraftFireDirector}}{{Radar}}
| +7
+
|{{ToolTip|+7|A <nowiki>=</nowiki> 5, B <nowiki>=</nowiki> 2}}
 
|1.5
 
|1.5
 
|52%
 
|52%
Line 374: Line 381:  
!5
 
!5
 
|nowrap|'''BBR'''<br>{{GreenGunBuiltIn}} {{GreenGunBuiltIn}} {{Radar}}
 
|nowrap|'''BBR'''<br>{{GreenGunBuiltIn}} {{GreenGunBuiltIn}} {{Radar}}
|'''+5'''
+
|{{ToolTip|'''+5'''|A <nowiki>=</nowiki> 2, B <nowiki>=</nowiki> 3}}
 
|nowrap|1.5
 
|nowrap|1.5
 
|55%
 
|55%
Line 382: Line 389:  
!6
 
!6
 
|nowrap|MSA<br>{{RedGunHeavy}} {{GreenAmmo}} {{AntiAircraftFireDirector}}
 
|nowrap|MSA<br>{{RedGunHeavy}} {{GreenAmmo}} {{AntiAircraftFireDirector}}
| +5
+
|{{ToolTip|+5|A <nowiki>=</nowiki> 4, B <nowiki>=</nowiki> 1}}
 
|nowrap|1.45
 
|nowrap|1.45
 
|40%
 
|40%
Line 390: Line 397:  
!7
 
!7
 
|nowrap|HAR<br>{{GreenGunDP}} {{AntiAircraftFireDirector}} {{Radar}}
 
|nowrap|HAR<br>{{GreenGunDP}} {{AntiAircraftFireDirector}} {{Radar}}
| +4
+
|{{ToolTip|+4|A <nowiki>=</nowiki> 2, B <nowiki>=</nowiki> 2}}
 
|1.35
 
|1.35
 
|45%
 
|45%
Line 398: Line 405:  
!8
 
!8
 
|nowrap|BR<br>{{GreenGunBuiltIn}} {{Radar}}
 
|nowrap|BR<br>{{GreenGunBuiltIn}} {{Radar}}
| +5
+
|{{ToolTip|+5|A <nowiki>=</nowiki> 2, B <nowiki>=</nowiki> 3}}
 
|nowrap|1.4
 
|nowrap|1.4
 
|50%
 
|50%
Line 405: Line 412:  
!9
 
!9
 
|nowrap|HA<br>{{GreenGunDP}} {{AntiAircraftFireDirector}}
 
|nowrap|HA<br>{{GreenGunDP}} {{AntiAircraftFireDirector}}
| +3
+
|{{ToolTip|+3|A <nowiki>=</nowiki> 1, B <nowiki>=</nowiki> 2}}
 
|1.3
 
|1.3
 
|40%
 
|40%
Line 412: Line 419:  
!10
 
!10
 
|nowrap|'''HCR'''<br>{{GreenGunDP}} {{CDMG}} {{Radar}}
 
|nowrap|'''HCR'''<br>{{GreenGunDP}} {{CDMG}} {{Radar}}
|'''+9'''
+
|{{ToolTip|'''+9'''|A <nowiki>=</nowiki> 3, B <nowiki>=</nowiki> 6}}
 
|1.65
 
|1.65
 
|60%
 
|60%
Line 420: Line 427:  
!11
 
!11
 
|nowrap|HC<br>{{GreenGunDP}} {{CDMG}}
 
|nowrap|HC<br>{{GreenGunDP}} {{CDMG}}
| +7
+
|{{ToolTip|+7|A <nowiki>=</nowiki> 2, B <nowiki>=</nowiki> 5}}
 
|1.5
 
|1.5
 
|55%
 
|55%
Line 427: Line 434:  
!12
 
!12
 
|nowrap|CGR<br>{{CDMG}} {{:User:Chocolatecravinghobo/Sandbox/10/Icon|{{GreenGunMG}}|3+ AA|10}} {{Radar}}
 
|nowrap|CGR<br>{{CDMG}} {{:User:Chocolatecravinghobo/Sandbox/10/Icon|{{GreenGunMG}}|3+ AA|10}} {{Radar}}
| +4
+
|{{ToolTip|+4|A <nowiki>=</nowiki> 1, B <nowiki>=</nowiki> 3}}
 
|1.25
 
|1.25
 
|45%
 
|45%
Line 436: Line 443:  
|style="color:black;background-color:#eaecf0"|'''Cannot be activated''':
 
|style="color:black;background-color:#eaecf0"|'''Cannot be activated''':
 
{{GreenGunBuiltIn}}{{CDMG}}{{Radar}}
 
{{GreenGunBuiltIn}}{{CDMG}}{{Radar}}
|style="color:black;background-color:#eaecf0"|+4
+
|style="color:black;background-color:#eaecf0"|{{ToolTip|+5|A <nowiki>=</nowiki> 1, B <nowiki>=</nowiki> 4}}
 
|style="color:black;background-color:#eaecf0"|1.35
 
|style="color:black;background-color:#eaecf0"|1.35
 
|style="color:black;background-color:#eaecf0"|35%
 
|style="color:black;background-color:#eaecf0"|35%
5,401

edits