Skip to content

Commit

Permalink
Quad Cannon and Marauder now has correct health for vanilla Generals.
Browse files Browse the repository at this point in the history
Well, Marauder does, couldn't get the exact value for Quad Cannon, but it is close enough.
  • Loading branch information
MustaphaTR committed Aug 27, 2024
1 parent 76e6acc commit bc1f9f6
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions mods/gen/rules/vehicles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,10 @@ vehicle.quad_cannon:
WarnProbability: 0
CrushClasses: vehicle
Health:
HP: 30000
HP: 21900 # Should be 22000.
DamageMultiplier@ZH_UNITS:
RequiresCondition: zh_units
Modifier: 73 # 30000
Armor:
Type: vehicle.anti-air
Selectable:
Expand Down Expand Up @@ -1324,6 +1327,9 @@ vehicle.quad_cannon:
Upgrades: upgrade.ap_bullets, upgrade.junk_repair
ActorStatOverride@Demo:
Upgrades: upgrade.demolitions, upgrade.ap_bullets, upgrade.junk_repair
ActorStatOverride@ZH_UNITS:
Health: 30000
RequiresCondition: zh_units

vehicle.gatling_tank:
Inherits: ^Tank
Expand Down Expand Up @@ -3232,7 +3238,10 @@ vehicle.marauder_tank:
UpdatesPlayerStatistics:
AddToArmyValue: true
Health:
HP: 50000
HP: 49000
DamageMultiplier@ZH_UNITS:
RequiresCondition: zh_units
Modifier: 98 # 50000
Armor:
Type: vehicle.tank
Mobile:
Expand Down Expand Up @@ -3503,6 +3512,9 @@ vehicle.marauder_tank:
ActorStatOverride@Merged:
Upgrades: upgrade.anthrax_gamma, upgrade.demolitions, upgrade.junk_repair
RequiresCondition: merged
ActorStatOverride@ZH_UNITS:
Health: 50000
RequiresCondition: zh_units

vehicle.overlord_tank:
Inherits: ^Tank
Expand Down

0 comments on commit bc1f9f6

Please sign in to comment.