Skip to content

Commit

Permalink
Bug Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Inq8 committed Jan 9, 2020
1 parent ffd32e0 commit 0ba0342
Show file tree
Hide file tree
Showing 13 changed files with 207 additions and 100 deletions.
Binary file modified .vs/CombinedArms/DesignTimeBuild/.dtbcache
Binary file not shown.
Binary file modified .vs/CombinedArms/v15/.suo
Binary file not shown.
3 changes: 3 additions & 0 deletions mods/ca/rules/aircraft.yaml
Expand Up @@ -1509,6 +1509,9 @@ SCRIN:
Prerequisites: aircraft.upgraded
Rearmable:
RearmActors: hpad, hpad2
ProductionCostMultiplier@markedBonus:
Multiplier: 90
Prerequisites: structures.marked

HORN:
Inherits: ^PlaneTD
Expand Down
3 changes: 0 additions & 3 deletions mods/ca/rules/defaults.yaml
Expand Up @@ -135,9 +135,6 @@
Palette: berserk
TimedConditionBar@BERSERK:
Condition: berserk
AutoTargetPriority@BERSERK:
RequiresCondition: berserkactive
InvalidTargets: ChaosDrone
RejectsOrders@BERSERK:
RequiresCondition: berserkactive
GrantCondition@BERSERK:
Expand Down
48 changes: 43 additions & 5 deletions mods/ca/rules/infantry.yaml
Expand Up @@ -65,8 +65,8 @@ DOG:
AutoTargetPriority@DEFAULT:
ValidTargets: Infantry
Targetable:
TargetTypes: Ground, Infantry
RequiresCondition: !being-warped
TargetTypes: Ground, Infantry, ChaosImmune
WithInfantryBody:
MoveSequence: walk
StandSequences: stand
Expand Down Expand Up @@ -247,7 +247,7 @@ E4:
Queue: Infantry
BuildAtProductionType: Soldier
BuildPaletteOrder: 70
Prerequisites: ~barr, dome, ~techlevel.infonly
Prerequisites: ~barr, ~!infantry.iraq, ftur, ~techlevel.infonly
Description: Advanced anti-structure unit.\n Strong vs Infantry, Buildings\n Weak vs Vehicles, Aircraft
Valued:
Cost: 200
Expand Down Expand Up @@ -314,6 +314,9 @@ E6:
VoiceSet: EngineerVoice
Selectable:
Priority: 5
Targetable:
RequiresCondition: !parachute && !being-warped
TargetTypes: Ground, Infantry, Disguise, ChaosImmune

SPY:
Inherits: ^Soldier
Expand Down Expand Up @@ -363,6 +366,9 @@ SPY:
Voice: Move
Voiced:
VoiceSet: SpyVoice
Targetable:
RequiresCondition: !parachute && !being-warped
TargetTypes: Ground, Infantry, Disguise, ChaosImmune

E7:
Inherits: ^Soldier
Expand Down Expand Up @@ -427,6 +433,9 @@ E7:
VoiceSet: TanyaVoice
ProducibleWithLevel:
Prerequisites: barracks.upgraded
Targetable:
RequiresCondition: !parachute && !being-warped
TargetTypes: Ground, Infantry, Disguise, ChaosImmune

MEDI:
Inherits: ^Soldier
Expand Down Expand Up @@ -469,6 +478,9 @@ MEDI:
ValidTargets: Infantry
ProducibleWithLevel:
Prerequisites: barracks.upgraded
Targetable:
RequiresCondition: !parachute && !being-warped
TargetTypes: Ground, Infantry, Disguise, ChaosImmune

MECH:
Inherits: ^Soldier
Expand Down Expand Up @@ -524,6 +536,9 @@ MECH:
ValidTargets: Vehicle, Ship
ProducibleWithLevel:
Prerequisites: barracks.upgraded
Targetable:
RequiresCondition: !parachute && !being-warped
TargetTypes: Ground, Infantry, Disguise, ChaosImmune

EINSTEIN:
Inherits: ^CivInfantry
Expand Down Expand Up @@ -653,6 +668,9 @@ THF:
ValidDamageStates: Critical
Mobile:
Speed: 49
Targetable:
RequiresCondition: !parachute && !being-warped
TargetTypes: Ground, Infantry, Disguise, ChaosImmune

SHOK:
Inherits: ^Soldier
Expand All @@ -675,7 +693,7 @@ SHOK:
Queue: Infantry
BuildAtProductionType: Soldier
BuildPaletteOrder: 115
Prerequisites: ~barr, stek, tsla, ~infantry.soviet, ~!infantry.iraq, ~techlevel.high
Prerequisites: ~barr, tsla, ~infantry.soviet, ~techlevel.high
Description: Elite infantry with portable Tesla coils.\n Strong vs Infantry, Vehicles\n Weak vs Aircraft\n Special Ability: Can over-charge Tesla Coil
Valued:
Cost: 350
Expand Down Expand Up @@ -1096,6 +1114,9 @@ RMBO:
IgnoresDisguise:
DetectCloaked:
CloakTypes: Cloak, Thief
Targetable:
RequiresCondition: !parachute && !being-warped
TargetTypes: Ground, Infantry, Disguise, ChaosImmune

N6:
Inherits: ^Soldier
Expand Down Expand Up @@ -1126,6 +1147,9 @@ N6:
Priority: 5
WithDeathAnimation:
DeathSequencePalette: playertd
Targetable:
RequiresCondition: !parachute && !being-warped
TargetTypes: Ground, Infantry, Disguise, ChaosImmune

VICE:
Inherits: ^Viceroid
Expand All @@ -1138,6 +1162,8 @@ VICE:
EmptyWeapon: UnitExplodeVice
Chance: 100
AttackWander:
Targetable:
TargetTypes: Ground, Infantry, Creep, ChaosImmune

SNIPER:
Inherits: ^Soldier
Expand Down Expand Up @@ -1279,6 +1305,9 @@ BORIS:
VoiceSet: BorisVoice
ProducibleWithLevel:
Prerequisites: barracks.upgraded
Targetable:
RequiresCondition: !parachute && !being-warped
TargetTypes: Ground, Infantry, Disguise, ChaosImmune

MORT:
Inherits: ^Soldier
Expand Down Expand Up @@ -1481,6 +1510,9 @@ ACOL:
DamageMultiplier@NODUPG:
RequiresCondition: nodupg
Modifier: 35
Targetable:
RequiresCondition: !parachute && !being-warped
TargetTypes: Ground, Infantry, Disguise, ChaosImmune

JUMPJET:
Inherits@1: ^ExistsInWorld
Expand Down Expand Up @@ -1730,7 +1762,7 @@ E8:
Buildable:
Queue: Infantry
BuildAtProductionType: Soldier
BuildPaletteOrder: 115
BuildPaletteOrder: 70
Prerequisites: ~infantry.iraq, ttur, radar, ~techlevel.infonly
Description: Anti-Infantry unit.\n Strong vs Infantry, Vehicles\n Weak vs Tanks, Aircraft
Valued:
Expand Down Expand Up @@ -1872,6 +1904,9 @@ n1c:
DamageMultiplier@NODUPG:
RequiresCondition: nodupg
Modifier: 35
Targetable:
RequiresCondition: !parachute && !being-warped
TargetTypes: Ground, Infantry, Disguise, ChaosImmune

n3c:
Inherits: ^Soldier
Expand Down Expand Up @@ -1965,6 +2000,9 @@ n3c:
DamageMultiplier@NODUPG:
RequiresCondition: nodupg
Modifier: 35
Targetable:
RequiresCondition: !parachute && !being-warped
TargetTypes: Ground, Infantry, Disguise, ChaosImmune

rmboc:
Inherits: ^Soldier
Expand Down Expand Up @@ -2052,7 +2090,7 @@ rmboc:
RequiresCondition: tibheal
Targetable:
RequiresCondition: !parachute && !being-warped
TargetTypes: Ground, Infantry
TargetTypes: Ground, Infantry, ChaosImmune
Targetable@REPAIR:
RequiresCondition: !parachute && damaged && !being-warped
TargetTypes: Repair
Expand Down
14 changes: 7 additions & 7 deletions mods/ca/rules/structures.yaml
Expand Up @@ -2495,7 +2495,7 @@ BRIK:
Health:
HP: 40000
Armor:
Type: Concrete
Type: Brick
Crushable:
CrushClasses: heavywall
BlocksProjectiles:
Expand Down Expand Up @@ -3346,7 +3346,7 @@ ASTRIP:
ChargeInterval: 13500
Description: Air Drop
LongDesc: Cargo Planes air drop tanks anywhere on the map.
DropItems: ltnk, ltnk, ltnk
DropItems: ltnk, ftnk, ltnk
SelectTargetSpeechNotification: SelectTarget
AllowImpassableCells: false
EndChargeSpeechNotification: ReinforceAva
Expand Down Expand Up @@ -4903,7 +4903,7 @@ SPEN.nod:
Queue: Building
BuildPaletteOrder: 50
IconPalette: chrometd
Prerequisites: hand, ~structures.nod, ~techlevel.low
Prerequisites: anypower, ~structures.nod, ~techlevel.low
Description: Produces and repairs\nsubmarines and transports.
Targetable:
TargetTypes: Ground, Water, WaterStructure, Structure, C4, DetonateAttack, SpyInfiltrate
Expand Down Expand Up @@ -5003,7 +5003,7 @@ SYRD.gdi:
Buildable:
Queue: Building
BuildPaletteOrder: 40
Prerequisites: pyle, ~structures.gdi, ~techlevel.low
Prerequisites: anypower, ~structures.gdi, ~techlevel.low
Description: Produces and repairs ships\nand transports.
Valued:
Cost: 1000
Expand Down Expand Up @@ -5432,7 +5432,7 @@ LASP:
Health:
HP: 40000
Armor:
Type: Concrete
Type: Brick
-Capturable:
-CaptureNotification:
-ProximityCaptor:
Expand Down Expand Up @@ -5584,7 +5584,7 @@ PATR:
Selectable:
Bounds: 48,48
RejectsOrders:
Except: Sell
Except: Sell, PowerDown

INDP:
Inherits: ^ScienceBuilding
Expand Down Expand Up @@ -5673,7 +5673,7 @@ OREP:
Valued:
Cost: 2500
Tooltip:
Name: Ore Refinery
Name: Ore Purifier
ResourcePurifier:
Modifier: 25
RequiresCondition: !disabled && !being-warped
Expand Down

0 comments on commit 0ba0342

Please sign in to comment.