Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions changelog/snippets/balance.7243.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{% unit UAL0205 %}
T2 Hover Flak and T2 Aeon Hover Shield
{% endunit %}
Adjust the water speeds of Aeon and Seraphim hover flak and the Asylum to match hover tanks, keeping them from falling behind during naval pushes and making ASF stacking over navy slightly more punishing. (#7243)
- Water speed:
- Ascendant: 2.7 -> 3.24
- Iashavoh: 2.6 -> ~3.24
- Asylum: 4.0 -> 3.24

Additionally, the Athanah and Zthuee scripts now support the `WaterSpeedMultiplier` blueprint field. The Zthuee's previously non-functional `WaterSpeedMultiplier` of `0.9` is removed.
2 changes: 1 addition & 1 deletion units/UAL0205/UAL0205_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ UnitBlueprint{
TurnFacingRate = 180,
TurnRadius = 0,
TurnRate = 120,
WaterSpeedMultiplier = 1,
WaterSpeedMultiplier = 1.2,
Comment thread
coderabbitai[bot] marked this conversation as resolved.
WobbleFactor = 0,
WobbleSpeed = 0,
},
Expand Down
8 changes: 7 additions & 1 deletion units/UAL0307/UAL0307_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

local AShieldHoverLandUnit = import("/lua/aeonunits.lua").AShieldHoverLandUnit
local DefaultProjectileWeapon = import("/lua/sim/defaultweapons.lua").DefaultProjectileWeapon
local SlowHover = import("/lua/defaultunits.lua").SlowHoverLandUnit
local ShieldEffectsComponent = import("/lua/defaultcomponents.lua").ShieldEffectsComponent

---@class UAL0307 : AShieldHoverLandUnit
Expand Down Expand Up @@ -69,7 +70,12 @@ UAL0307 = ClassUnit(AShieldHoverLandUnit, ShieldEffectsComponent) {
end,

OnLayerChange = function(self, new, old)
AShieldHoverLandUnit.OnLayerChange(self, new, old)
local physics = (self.Blueprint or self:GetBlueprint()).Physics
if physics.WaterSpeedMultiplier then
SlowHover.OnLayerChange(self, new, old)
else
AShieldHoverLandUnit.OnLayerChange(self, new, old)
end

if not IsDestroyed(self.TargetPointer) then
if self.PointerEnabled == false then
Expand Down
1 change: 1 addition & 0 deletions units/UAL0307/UAL0307_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ UnitBlueprint{
TurnFacingRate = 120,
TurnRadius = 0,
TurnRate = 150,
WaterSpeedMultiplier = 0.9,
WobbleFactor = 0.015,
WobbleSpeed = 0.001,
},
Expand Down
12 changes: 11 additions & 1 deletion units/XSL0103/XSL0103_Script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,22 @@

local SHoverLandUnit = import("/lua/seraphimunits.lua").SHoverLandUnit
local SIFThunthoCannonWeapon = import("/lua/seraphimweapons.lua").SIFThunthoCannonWeapon
local SlowHover = import("/lua/defaultunits.lua").SlowHoverLandUnit

---@class XSL0103 : SHoverLandUnit
XSL0103 = ClassUnit(SHoverLandUnit) {
XSL0103 = ClassUnit(SHoverLandUnit, SlowHover) {
Weapons = {
MainGun = ClassWeapon(SIFThunthoCannonWeapon) {}
},

OnLayerChange = function(self, new, old)
local physics = (self.Blueprint or self:GetBlueprint()).Physics
if physics.WaterSpeedMultiplier then
SlowHover.OnLayerChange(self, new, old)
else
SHoverLandUnit.OnLayerChange(self, new, old)
end
end,
}

TypeClass = XSL0103
1 change: 0 additions & 1 deletion units/XSL0103/XSL0103_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ UnitBlueprint{
TurnFacingRate = 120,
TurnRadius = 2,
TurnRate = 90,
WaterSpeedMultiplier = 0.9,
},
SelectionSizeX = 0.35,
SelectionSizeZ = 0.5,
Expand Down
2 changes: 1 addition & 1 deletion units/XSL0205/XSL0205_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ UnitBlueprint{
TurnFacingRate = 180,
TurnRadius = 0,
TurnRate = 120,
WaterSpeedMultiplier = 1,
WaterSpeedMultiplier = 1.246,
WobbleFactor = 0,
WobbleSpeed = 0,
},
Expand Down
8 changes: 7 additions & 1 deletion units/XSL0307/XSL0307_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
-----------------------------------------------------------------
local SShieldHoverLandUnit = import("/lua/seraphimunits.lua").SShieldHoverLandUnit
local DefaultProjectileWeapon = import("/lua/sim/defaultweapons.lua").DefaultProjectileWeapon --import a default weapon so our pointer doesnt explode
local SlowHover = import("/lua/defaultunits.lua").SlowHoverLandUnit
local ShieldEffectsComponent = import("/lua/defaultcomponents.lua").ShieldEffectsComponent

---@class XSL0307 : SShieldHoverLandUnit, ShieldEffectsComponent
Expand Down Expand Up @@ -70,7 +71,12 @@ XSL0307 = ClassUnit(SShieldHoverLandUnit, ShieldEffectsComponent) {

---@param self XSL0307
OnLayerChange = function(self, new, old)
SShieldHoverLandUnit.OnLayerChange(self, new, old)
local physics = (self.Blueprint or self:GetBlueprint()).Physics
if physics.WaterSpeedMultiplier then
SlowHover.OnLayerChange(self, new, old)
else
SShieldHoverLandUnit.OnLayerChange(self, new, old)
end
if not IsDestroyed(self.TargetPointer) then
if self.PointerEnabled == false then
self.TargetPointer:SetFireTargetLayerCaps('None')
Expand Down