@jtff/miztemplate-lib 3.10.1 → 3.10.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.
@@ -893,7 +893,7 @@ function SpawnRanges(param)
893
893
  --spawnStatic = SPAWNSTATIC:NewFromType(staticTypeToSpawn, staticCategoryToSpawn)
894
894
  if (staticToSpawn.type == "big_smoke" and staticToSpawn.category == "Effects") then
895
895
  local landAltitude = POINT_VEC2:New( x, y ):GetAlt()
896
- trigger.action.effectSmokeBig({ x = x, y = landAltitude, z = y}, 1, 1)
896
+ trigger.action.effectSmokeBig({ x = x, y = landAltitude, z = y}, staticToSpawn.effectPreset or 1, staticToSpawn.effectTransparency or 1)
897
897
  else
898
898
  if (staticToSpawn.coalition ~= nil) then
899
899
  if (staticToSpawn.coalition == coalition.side.BLUE) then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jtff/miztemplate-lib",
3
- "version": "3.10.1",
3
+ "version": "3.10.3",
4
4
  "description": "JTFF mission template library",
5
5
  "main": "index.js",
6
6
  "files": [