mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-16 16:06:44 +00:00
Update Artillery.lua
#ARTY fix a small error for coordinate of smoke shell creation
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
--
|
--
|
||||||
-- ### Author: **funkyfranky**
|
-- ### Author: **funkyfranky**
|
||||||
--
|
--
|
||||||
-- ### Contributions: FlightControl
|
-- ### Contributions: FlightControl, Applevangelist
|
||||||
--
|
--
|
||||||
-- ====
|
-- ====
|
||||||
-- @module Functional.Artillery
|
-- @module Functional.Artillery
|
||||||
@@ -780,7 +780,7 @@ ARTY.db={
|
|||||||
|
|
||||||
--- Arty script version.
|
--- Arty script version.
|
||||||
-- @field #string version
|
-- @field #string version
|
||||||
ARTY.version="1.3.3"
|
ARTY.version="1.3.4"
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -2268,7 +2268,7 @@ function ARTY._FuncTrack(weapon, self, target)
|
|||||||
if _dist<target.radius then
|
if _dist<target.radius then
|
||||||
|
|
||||||
-- Get random coordinate within a certain radius.
|
-- Get random coordinate within a certain radius.
|
||||||
local _cr=_coord:GetRandomCoordinateInRadius(_data.target.radius)
|
local _cr=_coord:GetRandomCoordinateInRadius(target.radius)
|
||||||
|
|
||||||
-- Fire smoke at this coordinate.
|
-- Fire smoke at this coordinate.
|
||||||
_cr:Smoke(self.smokeColor)
|
_cr:Smoke(self.smokeColor)
|
||||||
|
|||||||
Reference in New Issue
Block a user