Repo-wide formatting pass
This commit is contained in:
1 parent
20b5d31836
commit
62ade7ea45
291 files changed
+1405
-1423
No files matched your search
@@ -21,28 +21,30 @@ LAPARTISAN = Class(TLandUnit) {
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
OnCreate = function(self)
|
||||
TLandUnit.OnCreate(self)
|
||||
self:SetWeaponEnabledByLabel('GroundGun', false)
|
||||
end,
|
||||
|
||||
|
||||
OnScriptBitSet = function(self, bit)
|
||||
TLandUnit.OnScriptBitSet(self, bit)
|
||||
if bit == 1 then
|
||||
if bit == 1 then
|
||||
self:SetWeaponEnabledByLabel('GroundGun', true)
|
||||
self:SetWeaponEnabledByLabel('AAGun', false)
|
||||
self:GetWeaponManipulatorByLabel('GroundGun'):SetHeadingPitch( self:GetWeaponManipulatorByLabel('AAGun'):GetHeadingPitch() )
|
||||
self:GetWeaponManipulatorByLabel('GroundGun'):SetHeadingPitch(self:GetWeaponManipulatorByLabel('AAGun')
|
||||
:GetHeadingPitch())
|
||||
end
|
||||
end,
|
||||
|
||||
OnScriptBitClear = function(self, bit)
|
||||
TLandUnit.OnScriptBitClear(self, bit)
|
||||
if bit == 1 then
|
||||
if bit == 1 then
|
||||
self:SetWeaponEnabledByLabel('GroundGun', false)
|
||||
self:SetWeaponEnabledByLabel('AAGun', true)
|
||||
self:GetWeaponManipulatorByLabel('AAGun'):SetHeadingPitch( self:GetWeaponManipulatorByLabel('GroundGun'):GetHeadingPitch() )
|
||||
self:GetWeaponManipulatorByLabel('AAGun'):SetHeadingPitch(self:GetWeaponManipulatorByLabel('GroundGun')
|
||||
:GetHeadingPitch())
|
||||
end
|
||||
end,
|
||||
}
|
||||
TypeClass = LAPARTISAN
|
||||
TypeClass = LAPARTISAN
|
||||
@@ -358,7 +358,7 @@ UnitBlueprint {
|
||||
},
|
||||
FiringRandomness = 0.3,
|
||||
FiringRandomnessWhileMoving = 1.5,
|
||||
FiringTolerance =0,
|
||||
FiringTolerance = 0,
|
||||
Label = 'GroundGun',
|
||||
MaxRadius = 54,
|
||||
MinRadius = 9,
|
||||
|
||||
Reference in new issue
Block a user