You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- Called by Lua to process the damage logic of a projectile
615
-
-- @param self The projectile itself
616
-
-- @param instigator The launcher, and if it doesn't exist, the projectile itself
617
-
-- @param DamageData The damage data passed by the weapon
618
-
-- @param targetEntity The entity we hit, is nil if we hit terrain
619
-
-- @param cachedPosition A cached position that is passed to prevent table allocations, can not be used in fork threads and / or after a yield statement
620
615
---@paramselfProjectile
621
-
---@paraminstigatorUnit
616
+
---@paraminstigatorUnit# The launcher, and if it doesn't exist, the projectile itself
622
617
---@paramDamageDataWeaponDamageTable # passed by the weapon
623
-
---@paramtargetEntityUnit | Prop | nil
624
-
---@paramcachedPositionVector
618
+
---@paramtargetEntityUnit | Prop | nil# nil if hitting terrain
619
+
---@paramcachedPositionVector# A cached position that is passed to prevent table allocations, can not be used in fork threads and / or after a yield statement
0 commit comments