Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UEF SACU Enhancements #6493

Draft
wants to merge 5 commits into
base: feature/SACU-Rebalance2
Choose a base branch
from
Draft
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
1 change: 1 addition & 0 deletions changelog/snippets/balance.XXXX.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- (#XXXX) Base PR For all SCU Changes
2 changes: 1 addition & 1 deletion units/UEA0003/UEA0003_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ UnitBlueprint{
BuildCostEnergy = 1600,
BuildCostMass = 160,
BuildRadius = 8,
BuildRate = 35,
BuildRate = 51,
BuildTime = 400,
BuildableCategory = { "BUILTBYTIER3ENGINEER UEF" },
},
Expand Down
7 changes: 3 additions & 4 deletions units/UEL0301/UEL0301_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ UEL0301 = ClassUnit(CommandUnit) {

---@param self UEL0301
---@param unitBeingBuilt Unit
---@param order string unused
---@param order string Unused
CreateBuildEffects = function(self, unitBeingBuilt, order)
-- Different effect if we have building cube
if unitBeingBuilt.BuildingCube then
Expand Down Expand Up @@ -173,7 +173,6 @@ UEL0301 = ClassUnit(CommandUnit) {
attachee:SetDoNotTarget(false)
end,


-- ============================================================================================================================================================
-- ENHANCEMENTS

Expand Down Expand Up @@ -357,7 +356,7 @@ UEL0301 = ClassUnit(CommandUnit) {
---@param intel IntelType
OnIntelEnabled = function(self, intel)
CommandUnit.OnIntelEnabled(self, intel)
if self.RadarJammerEnh and self:IsIntelEnabled('Jammer') then
if self.EnhancementUpgrades.SensorRangeEnhancer and self:IsIntelEnabled('Jammer') then
if self.IntelEffects then
self.IntelEffectsBag = {}
self:CreateTerrainTypeEffects(self.IntelEffects, 'FXIdle', self.Layer, nil, self.IntelEffectsBag)
Expand All @@ -371,7 +370,7 @@ UEL0301 = ClassUnit(CommandUnit) {
---@param intel IntelType
OnIntelDisabled = function(self, intel)
CommandUnit.OnIntelDisabled(self, intel)
if self.RadarJammerEnh and not self:IsIntelEnabled('Jammer') then
if self.EnhancementUpgrades.SensorRangeEnhancer and not self:IsIntelEnabled('Jammer') then
self:SetMaintenanceConsumptionInactive()
if self.IntelEffectsBag then
EffectUtil.CleanupEffectBag(self, 'IntelEffectsBag')
Expand Down
Loading
Loading