@jtff/miztemplate-lib 3.4.2 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lua/src/130-airboss.lua +11 -8
- package/package.json +1 -1
package/lua/src/130-airboss.lua
CHANGED
|
@@ -1118,10 +1118,10 @@ for index, airbossconfig in ipairs(AirBossConfig) do
|
|
|
1118
1118
|
}
|
|
1119
1119
|
)
|
|
1120
1120
|
if (
|
|
1121
|
-
(objAirboss.
|
|
1122
|
-
(objAirboss.
|
|
1123
|
-
(objAirboss.
|
|
1124
|
-
(objAirboss.
|
|
1121
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.ROOSEVELT) or
|
|
1122
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.LINCOLN) or
|
|
1123
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.WASHINGTON) or
|
|
1124
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.TRUMAN)
|
|
1125
1125
|
) then
|
|
1126
1126
|
objAirboss.deckLayoutmenuObject = MENU_COALITION:New(
|
|
1127
1127
|
airbossconfig.coalition,
|
|
@@ -1312,12 +1312,15 @@ for index, airbossconfig in ipairs(AirBossConfig) do
|
|
|
1312
1312
|
end
|
|
1313
1313
|
objAirboss.customconfig = airbossconfig
|
|
1314
1314
|
if (
|
|
1315
|
-
(objAirboss.
|
|
1316
|
-
(objAirboss.
|
|
1317
|
-
(objAirboss.
|
|
1318
|
-
(objAirboss.
|
|
1315
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.LINCOLN) or
|
|
1316
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.ROOSEVELT) or
|
|
1317
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.TRUMAN) or
|
|
1318
|
+
(objAirboss.carriertype == AIRBOSS.CarrierType.WASHINGTON)
|
|
1319
1319
|
) then
|
|
1320
|
+
jtff_log.info(string.format("CSG : %s is Supercarrier apply Deck Layout...", objAirboss.customconfig.alias),"AIRBOSS")
|
|
1320
1321
|
flexDeck7SpawnLayout(objAirboss)
|
|
1322
|
+
else
|
|
1323
|
+
jtff_log.info(string.format("CSG : %s is not Supercarrier (%s) skipping Deck Layout...", objAirboss.customconfig.alias, objAirboss.CarrierType),"AIRBOSS")
|
|
1321
1324
|
end
|
|
1322
1325
|
function objAirboss:OnAfterLSOGrade(From, Event, To, playerData, myGrade)
|
|
1323
1326
|
|