Remove Pyotr Velikiy from the generator for now.

It's just too strong to be killed by a reasonable number of Harpoons. DCS needs a fixed ship damage model first.

Contributes-to: Khopa/dcs_liberation#567
This commit is contained in:
Simon Clark 2021-01-06 20:39:50 +00:00
parent 81b0ea1eef
commit fac770424c
2 changed files with 4 additions and 14 deletions

View File

@ -8,7 +8,6 @@ from dcs.ships import (
Type_052C_Destroyer,
Type_052B_Destroyer,
Type_054A_Frigate,
CGN_1144_2_Pyotr_Velikiy,
)
from game.factions.faction import Faction
@ -27,12 +26,7 @@ class ChineseNavyGroupGenerator(ShipGroupGenerator):
include_frigate = random.choice([True, True, False])
include_dd = random.choice([True, False])
if include_dd:
include_cc = random.choice([True, False])
else:
include_cc = False
if not any([include_frigate, include_dd, include_cc]):
if not any([include_frigate, include_dd]):
include_frigate = True
if include_frigate:
@ -44,10 +38,6 @@ class ChineseNavyGroupGenerator(ShipGroupGenerator):
self.add_unit(dd_type, "DD1", self.position.x + 2400, self.position.y + 900, self.heading)
self.add_unit(dd_type, "DD2", self.position.x + 2400, self.position.y - 900, self.heading)
if include_cc:
cc_type = random.choice([CGN_1144_2_Pyotr_Velikiy])
self.add_unit(cc_type, "CC1", self.position.x, self.position.y, self.heading)
self.get_generated_group().points[0].speed = 20

View File

@ -8,7 +8,6 @@ from dcs.ships import (
FFG_11540_Neustrashimy,
FF_1135M_Rezky,
CG_1164_Moskva,
CGN_1144_2_Pyotr_Velikiy,
SSK_877,
SSK_641B
)
@ -49,8 +48,9 @@ class RussianNavyGroupGenerator(ShipGroupGenerator):
self.add_unit(dd_type, "DD2", self.position.x + 2400, self.position.y - 900, self.heading)
if include_cc:
cc_type = random.choice([CG_1164_Moskva, CGN_1144_2_Pyotr_Velikiy])
self.add_unit(cc_type, "CC1", self.position.x, self.position.y, self.heading)
# Only include the Moskva for now, the Pyotry Velikiy is an unkillable monster.
# See https://github.com/Khopa/dcs_liberation/issues/567
self.add_unit(CG_1164_Moskva, "CC1", self.position.x, self.position.y, self.heading)
self.get_generated_group().points[0].speed = 20