Repo-wide formatting pass
This commit is contained in:
1 parent
20b5d31836
commit
62ade7ea45
291 files changed
+1405
-1423
No files matched your search
@@ -12,39 +12,39 @@ FSMETEOR = Class(TAirUnit) {
|
||||
DestroySeconds = 7.5,
|
||||
|
||||
Weapons = {
|
||||
AC10 = Class(TDFGaussCannonWeapon) {},
|
||||
AC10 = Class(TDFGaussCannonWeapon) {},
|
||||
SRM1 = Class(TSAMLauncher) {},
|
||||
SRM2 = Class(TSAMLauncher) {},
|
||||
Bomb = Class(TIFCarpetBombWeapon) {
|
||||
|
||||
IdleState = State (TIFCarpetBombWeapon.IdleState) {
|
||||
Bomb = Class(TIFCarpetBombWeapon) {
|
||||
|
||||
IdleState = State(TIFCarpetBombWeapon.IdleState) {
|
||||
Main = function(self)
|
||||
TIFCarpetBombWeapon.IdleState.Main(self)
|
||||
end,
|
||||
|
||||
|
||||
OnGotTarget = function(self)
|
||||
self.unit:SetBreakOffTriggerMult(2.0)
|
||||
self.unit:SetBreakOffDistanceMult(8.0)
|
||||
self.unit:SetSpeedMult(0.60)
|
||||
TIFCarpetBombWeapon.OnGotTarget(self)
|
||||
end,
|
||||
end,
|
||||
},
|
||||
|
||||
|
||||
OnGotTarget = function(self)
|
||||
self.unit:SetBreakOffTriggerMult(2.0)
|
||||
self.unit:SetBreakOffDistanceMult(8.0)
|
||||
self.unit:SetSpeedMult(0.60)
|
||||
TIFCarpetBombWeapon.OnGotTarget(self)
|
||||
end,
|
||||
|
||||
|
||||
OnLostTarget = function(self)
|
||||
self.unit:SetBreakOffTriggerMult(1.0)
|
||||
self.unit:SetBreakOffDistanceMult(1.0)
|
||||
self.unit:SetSpeedMult(1.0)
|
||||
TIFCarpetBombWeapon.OnLostTarget(self)
|
||||
end,
|
||||
end,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
TypeClass = FSMETEOR
|
||||
TypeClass = FSMETEOR
|
||||
@@ -300,7 +300,7 @@ UnitBlueprint {
|
||||
DisplayName = 'AC10',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Land|Water|Air',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 0.5,
|
||||
--#######change from 1.5 to 0.5 due to extreme inacurecy as unit always on the move in air.##
|
||||
@@ -374,7 +374,7 @@ UnitBlueprint {
|
||||
DisplayName = 'Short Range Missles',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 5,
|
||||
@@ -384,7 +384,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
@@ -451,7 +451,7 @@ UnitBlueprint {
|
||||
DisplayName = 'Short Range Missles',
|
||||
FireTargetLayerCapsTable = {
|
||||
Air = 'Air|Land|Water',
|
||||
},
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance = 5,
|
||||
@@ -461,7 +461,7 @@ UnitBlueprint {
|
||||
MuzzleSalvoSize = 4,
|
||||
MuzzleVelocity = 27,
|
||||
PrefersPrimaryWeaponTarget = true,
|
||||
ProjectileId= '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileId = '/projectiles/TAAMissileFlayer01/TAAMissileFlayer01_proj.bp',
|
||||
ProjectileLifetime = 1,
|
||||
ProjectilesPerOnFire = 1,
|
||||
RackBones = {
|
||||
|
||||
Reference in new issue
Block a user