mirror of
https://github.com/electronicarts/CnC_Remastered_Collection.git
synced 2025-08-23 06:03:14 +02:00
August 6th Patch Update
Accumulated DLL source code changes since June 22nd patch
This commit is contained in:
@@ -799,4 +799,22 @@ void Fixup_Scenario(void)
|
||||
} else {
|
||||
((AircraftTypeClass&)AircraftTypeClass::As_Reference(AIRCRAFT_ORCA)).Primary = WEAPON_DRAGON;
|
||||
}
|
||||
|
||||
/*
|
||||
** Modern Balance
|
||||
*/
|
||||
if (Special.ModernBalance) {
|
||||
/*
|
||||
** GDI Weapons Factory has 30% more health.
|
||||
*/
|
||||
((BuildingTypeClass&)BuildingTypeClass::As_Reference(STRUCT_WEAP)).MaxStrength = 520;
|
||||
|
||||
/*
|
||||
** Repair Pad is a pre-requisite for the APC.
|
||||
*/
|
||||
((UnitTypeClass&)UnitTypeClass::As_Reference(UNIT_APC)).Pre |= STRUCTF_REPAIR;
|
||||
} else {
|
||||
((BuildingTypeClass&)BuildingTypeClass::As_Reference(STRUCT_WEAP)).MaxStrength = 400;
|
||||
((UnitTypeClass&)UnitTypeClass::As_Reference(UNIT_APC)).Pre &= ~STRUCTF_REPAIR;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user