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
|
||||
Reference in new issue
Block a user