[Fix] A bunch of fixes for artillery strike

* Avoid using hard-coded Signal and HE mortar shell indices. This caused art.strikes malfunctioning in item mods.
* Trim max nubers of waves to duration of signal smoke. Otherwise art.strike turns into unnatural stupidity.
* If enemy AI tried to get art.strike but lacked of resources, player will not a warning anymore.
This commit is contained in:
sun-alf
2023-05-22 22:06:18 +03:00
parent 6e30d24ce5
commit ab2a26accb
15 changed files with 97 additions and 94 deletions
+1
View File
@@ -7670,6 +7670,7 @@ STR16 New113Message[] =
L"L'action radio a échoué !",
L"Pas assez d'obus de mortier dans le secteur pour un tir de barrage !",
L"Aucun obus éclairant trouvé dans Items.xml !",
L"No High-Explosive shell item found in Items.xml!",
L"Aucun mortier trouvé, tir de barrage impossible !",
L"Brouillage radio déjà en cours, inutile d'en lancer un autre !",
L"Écoute des sons alentour déjà en cours, inutile d'en lancer une autre !",