Skip to content

Commit

Permalink
Remove Chrono HP buff
Browse files Browse the repository at this point in the history
  • Loading branch information
lL1l1 committed Dec 2, 2024
1 parent fb9d50a commit 4cb1726
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
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
1 change: 0 additions & 1 deletion units/UAL0001/UAL0001_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ UnitBlueprint{
BuildTime = 1225,
Icon = "cd",
Name = "<LOC enhancements_0002>Chrono Dampener",
NewHealth = 3000,
ShowBones = { "Right_Upgrade" },
Slot = "RCH",
UpgradeEffectBones = {
Expand Down

0 comments on commit 4cb1726

Please sign in to comment.