@jtff/miztemplate-lib 3.10.11 → 3.10.12
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 +12 -12
- package/package.json +1 -1
package/lua/src/130-airboss.lua
CHANGED
|
@@ -127,18 +127,18 @@ function startRecoveryOnDemand(objAirboss, forced_eventcase)
|
|
|
127
127
|
recoveryStart - (turnBeforeRecoveryDuration * 60),
|
|
128
128
|
recoveryStop
|
|
129
129
|
)
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
130
|
+
end
|
|
131
|
+
if effectiveeventcase == 1 then
|
|
132
|
+
objAirboss:MessageToMarshal('Good visibility : Case 1', objAirboss.customconfig.alias, "", 45, false, 0)
|
|
133
|
+
objAirboss:SetMaxSectionSize(4)
|
|
134
|
+
elseif effectiveeventcase == 2 then
|
|
135
|
+
objAirboss:MessageToMarshal('Bad visibility in altitude : Case 2', objAirboss.customconfig.alias, "", 45, false, 0)
|
|
136
|
+
objAirboss:SetMaxSectionSize(2)
|
|
137
|
+
elseif effectiveeventcase == 3 then
|
|
138
|
+
objAirboss:MessageToMarshal('Bad visibility : Case 3', objAirboss.customconfig.alias, "", 45, false, 0)
|
|
139
|
+
objAirboss:SetMaxSectionSize(1)
|
|
140
|
+
else
|
|
141
|
+
objAirboss:SetMaxSectionSize(1)
|
|
142
142
|
end
|
|
143
143
|
objAirboss:AddRecoveryWindow(
|
|
144
144
|
UTILS.SecondsToClock(recoveryStart, false, false),
|