Naval Combat System

The latest version of the naval combat system can be found in this article.

## Combat

In battles, each side takes turns making attacks with the ship of their choice, against the ship of their choice.

### General Rules

* Ships in port cannot attack, they can only defend (goes for all types)
* Submarines that are submerged cannot attack ships in port
* Submarines that are on the surface will be treated as ship vs ship, not ship vs submarine
* A ship's **anti-missile bonus** *only applies in defense against ships that carry missile launchers*

### For Ship vs. Ship Engagements

If the ships have different combat values with neither being equal to 0,

* Using a Random Number generator set between 1 and 4, generate a number
	+ if the number is 1, the ship with the lower ship combat value wins the battle (the larger value ship sinks)
	+ if the number is 2-3, the ships with the larger ship combat value wins the battle (the lower value ship sinks)
	+ if the number is 4, neither ship wins the battle, and both are disabled (cannot take part in any more attacks in the battle)

If the lower value vessel has a value of 0 vs ships

* the lower value vessel automatically sinks, and there is no need for the RNG.

If both vessels have values of 0 vs ships

* no battle can take place, as they have no means to fight each other (is this necessary even..?)

If the vessels have equal nonzero values

* a random number generator will be set to 1-2, with each representing one of the ships. The number of the ship chosen wins, the other is sunk. 1 will stand for the attacking ship, 2 for the defending. (in all cases)

### For Ship vs Submerged Submarine Engagements

The system for this is identical to the Ship vs Ship, however, instead of using the surface vessel's anti ship value, you use the anti sub value.

### Aircraft Carriers vs Ships

#### Special Rules for Carriers

* Carriers cannot be attacked until 2/3 of the original escorts have been sunk or left the battle
* When a carrier loses a plane, it's combat value decreases by 3 (unless it has already lost all of them)
* If a carrier wins a defensive battle, the attacking ship is disabled, not sunk

#### Combat

* If the ship's AA value is 0, the ship automatically sinks when attacked by a carrier
* If the ship's AA value is less than 1/2 of the carrier's attack value, set a RNG to 1-5
	+ If it lands at 1, the ship wins and the carrier loses the plane (in battle, the carriers value is decreased by 3 points)
	+ If it lands at 5, the ship is disabled and the plane survives
	+ If it lands at 2-4, the ship is sunk
* If the ship's AA value is between 1/2 and 3/4 of the carrier's value, set a RNG to 1-5
	+ If it lands at 1-2, the ship wins and the carrier loses a plane
	+ If it lands at 5, same as above
	+ If it lands at 2-4, the ship is sunk
* If the ship's AA value is greater than 3/4 of the carrier's value, set a RNG to 1-5
	+ If it lands at 1-2, the ship wins and the carrier loses a plane
	+ If it lands at 3, the ship is sunk
	+ If it lands at 4-5, the ship is disabled and the carrier loses a plane

### Other Situations

* Land Based fortifications will be treated like surface warships (however they cannot attack submarines), however they cannot attack anything outside a 1 km radius of them.

## Combat Values

### Notation

#### Surface Vessels

The surface vessel combat value is displayed as a number,

Anti Ship Value+Anti Missile Bonus/Anti Submarine Value/Anti Air Value

for example,

15+2/8/24 is the value of a ship with a ship vs ship combat value of 15, a bonus of 2 in defense of missiles, a combat value of 8 against submarines, and an anti air value of 24.

#### Submarines

The submarine combat value is displayed as such:

Submerged Combat Value/Surfaced combat value/Surfaced anti air value

for instance, 8/10/12 would be the combat value of a submarine with a value of 8 submerged, 10 surfaced, and 12 for anti air when surfaced.

## Calculation of Values

### For surface vessels

#### Combat value vs surface vessel is determined by the addition of the following

* The number of naval guns, multiplied by 1
* The number of VLS cells (1 block in area each) multiplied by 1/4
* The number of non VLS missile launchers multiplied by the number of missiles held at a given time by that launcher (usually 1 or 2)
* The number of Tomahawk/Harpoon missile launchers multiplied by 4
* The number of torpedo tubes multiplied by 1 (each individual tube is counted as 1)

#### Anti missile bonus for surface vessels is determined by the addition of the following

* Number of CIWS units multiplied by 1
* Number of decoy systems (such as Nulkas or Chaff) multiplied by 1

#### Combat value vs Submarines is determined by the addition of the following

* The number of torpedo tubes, multiplied by 1
* The number of Anti-Submarine Rocket systems, multiplied by 3
* The number of depth charge launchers, multiplied by 1
* A ship gets a single point added for an ASW helicopter being carried on board (but no bonus for more than one ASW helicopter being carried)

#### Anti-Air value is determined by the addition of the following

* CIWS systems are worth 5 each
* AA/machine guns are worth 2 each
* VLS cells are worth 1/4 per cell
* Missile launchers (non VLS) are worth the number of missiles they can hold (typically 1 or 2)
* Tomahawk/Harpoon launchers are worth 2 each

### For submarines

#### Combat value vs surface vessels when surfaced is determined by the addition of the following

* VLS cells are worth 1/3 per cell
* Torpedo tubes are worth 1 each

#### Anti-Air value when surfaced is determined by the addition of the following (values are same as for ships)

* VLS cells are worth 1/4 per cell

### For Aircraft Carriers

An aircraft carrier will have a defensive value just like a surface vessel, and if it has no aircraft, it's offensive value will be counted like a surface vessel as well.

An aircraft carrier's value will go down by 3 every time it loses an aircraft in battle, unless it has already lost all of them (in which case it will be counted as a surface vessel, see above)

For an aircraft carrier with aircraft, it's offensive value against ships will be counted by the addition of the following

* a value of 3 per each fixed wing aircraft

For an aircraft carrier, it's defensive value against ships will be counted by the addition of the following

* A base defensive value of 10
* The number of naval guns, multiplied by 1
* The number of VLS cells (1 block in area each) multiplied by 1/3
* The number of non VLS missile launchers multiplied by the number of missiles held at a given time by that launcher (usually 1 or 2)
* The number of Tomahawk/Harpoon missile launchers multiplied by 2
* The number of torpedo tubes multiplied by 1 (each individual tube is counted as 1)
* The number of CIWS multiplied by 1

For an aircraft carrier, the AA value will be counted by the addition of the following

* The same as the system for surface vessels, however, an additional 2 points per each fixed wing aircraft

### Limitations

* all ship combat values (excluding aircraft carriers) must be approved by Nano or tillwill (this will be based on the color of the ship)
* Blue aircraft carriers can have at most 20 aircraft
* Light blue aircraft carriers can have at most 28 aircraft