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

Move chrono dampener to sensors/fire rate slot #6571

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
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
4 changes: 4 additions & 0 deletions changelog/snippets/balance.6571.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- (#6571) Move Chrono Dampener to the ACU's right arm (sensors/fire rate).

After its nerf, Chrono Dampener has seen little use due to requiring the ACU to get in close range for Chrono to have an effect, but lacking the survivability to do so.
Moving Chrono Dampener to the right arm lets it be built with shield to give it the survivability it needs.
2 changes: 1 addition & 1 deletion loc/US/strings_db.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1750,7 +1750,7 @@ Unit_Description_s204="Constructs Tech 3 Naval units. Buildable for a much cheap
-- AEON -- Armored Commander Unit/Upgrades
Unit_Description_0305="The Armored Command Unit (ACU) is a combination of barracks and command center. Contains all the blueprints necessary to build a basic army from scratch. Upgradeable with combat enhancements, advanced engineering suites, resource allocation system, and teleportation."
Unit_Description_0156="Grants Tech 2 schematic access and increases the ACU's build speed and maximum health.\n\n+32 Buildpower\n+2000 Health\n+10 Regen"
Unit_Description_0157="Creates a Quantum Stasis Field around the ACU. Immobilizes enemy units within the ACU's main cannon range. Multiple Quantum Stasis Fields interfere with each other, having a limited effect.\n\n+3000 Health"
Unit_Description_0157="Creates a Quantum Stasis Field around the ACU. Immobilizes enemy units within the ACU's main cannon range. Multiple Quantum Stasis Fields interfere with each other, having a limited effect."
Unit_Description_0158="Increases the range of the ACU's main cannon and that of Overcharge.\n\n+8 Main cannon range"
Unit_Description_0159="Grants the ACU a long range omni Sensor and increased optical range.\n\n+54 Vision Radius\n+54 Omni Radius"
Unit_Description_0160="Grants Tech 3 and Experimental schematic access and further increases the ACU's build speed and maximum health.\n\n+58 Buildpower\n+1000 Health\n+10 Regen"
Expand Down
21 changes: 0 additions & 21 deletions units/UAL0001/UAL0001_script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
-----------------------------------------------------------------

---@alias AeonACUEnhancementBuffType
---| "DamageStabilization"
---| "ACUBUILDRATE"

---@alias AeonACUEnhancementBuffName # BuffType
---| "AeonACUChronoDampener" # DamageStabilization
---| "AeonACUT2BuildRate" # ACUBUILDRATE
---| "AeonACUT3BuildRate" # ACUBUILDRATE

Expand Down Expand Up @@ -153,30 +151,11 @@ UAL0001 = ClassUnit(ACUUnit) {
---@param bp UnitBlueprintEnhancement
ProcessEnhancementChronoDampener = function(self, bp)
self:SetWeaponEnabledByLabel('ChronoDampener', true)
if not Buffs['AeonACUChronoDampener'] then
BuffBlueprint {
Name = 'AeonACUChronoDampener',
DisplayName = 'AeonACUChronoDampener',
BuffType = 'DamageStabilization',
Stacks = 'REPLACE',
Duration = -1,
Affects = {
MaxHealth = {
Add = bp.NewHealth,
Mult = 1.0,
},
},
}
end
Buff.ApplyBuff(self, 'AeonACUChronoDampener')
end,

---@param self UAL0001
---@param bp UnitBlueprintEnhancement
ProcessEnhancementChronoDampenerRemove = function(self, bp)
if Buff.HasBuff(self, 'AeonACUChronoDampener') then
Buff.RemoveBuff(self, 'AeonACUChronoDampener')
end
self:SetWeaponEnabledByLabel('ChronoDampener', false)
end,

Expand Down
14 changes: 6 additions & 8 deletions units/UAL0001/UAL0001_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -263,29 +263,27 @@ UnitBlueprint{
BuildTime = 1225,
Icon = "cd",
Name = "<LOC enhancements_0002>Chrono Dampener",
NewHealth = 3000,
ShowBones = { "Back_Upgrade" },
Slot = "Back",
ShowBones = { "Right_Upgrade" },
Slot = "RCH",
UpgradeEffectBones = {
"Back_Upgrade",
"Left_Arm_B01",
"Right_Arm_B01",
"Right_Turret",
"Right_Upgrade",
},
UpgradeUnitAmbientBones = { "UAL0001" },
},
ChronoDampenerRemove = {
BuildCostEnergy = 1,
BuildCostMass = 1,
BuildTime = 0.1,
HideBones = { "Back_Upgrade" },
ShowBones = { "Right_Upgrade" },
Icon = "cd",
Name = "<LOC enhancements_0003>Remove Chrono Dampener",
Prerequisite = "ChronoDampener",
RemoveEnhancements = {
"ChronoDampener",
"ChronoDampenerRemove",
},
Slot = "Back",
Slot = "RCH",
},
CrysalisBeam = {
BuildCostEnergy = 6000,
Expand Down
Loading