Skip to content

Commit

Permalink
RA balance changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Punsho authored and Punsho committed Jul 19, 2019
1 parent a38c2d9 commit 8553d71
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 71 deletions.
2 changes: 0 additions & 2 deletions mods/ra/rules/aircraft.yaml
Expand Up @@ -87,7 +87,6 @@ MIG:
BuildAtProductionType: Plane
BuildPaletteOrder: 50
Prerequisites: ~afld, stek, ~techlevel.high
BuildDurationModifier: 50
Description: Fast Ground-Attack Plane.\n Strong vs Buildings, Vehicles\n Weak vs Infantry, Aircraft
Valued:
Cost: 2000
Expand Down Expand Up @@ -277,7 +276,6 @@ HELI:
BuildAtProductionType: Helicopter
BuildPaletteOrder: 40
Prerequisites: ~hpad, atek, ~techlevel.high
BuildDurationModifier: 50
Description: Helicopter gunship armed\nwith multi-purpose missiles.\n Strong vs Buildings, Vehicles, Aircraft\n Weak vs Infantry
Valued:
Cost: 2000
Expand Down
24 changes: 9 additions & 15 deletions mods/ra/rules/defaults.yaml
Expand Up @@ -100,20 +100,9 @@
ReloadDelayMultiplier@RANK-ELITE:
RequiresCondition: rank-elite
Modifier: 75
InaccuracyMultiplier@RANK-1:
RequiresCondition: rank-veteran == 1
Modifier: 90
InaccuracyMultiplier@RANK-2:
RequiresCondition: rank-veteran == 2
Modifier: 80
InaccuracyMultiplier@RANK-3:
RequiresCondition: rank-veteran == 3
Modifier: 70
InaccuracyMultiplier@RANK-ELITE:
RequiresCondition: rank-elite
Modifier: 50
SelfHealing@ELITE:
Step: 200
Step: 0
PercentageStep: 5
Delay: 100
HealIfBelow: 100
DamageCooldown: 125
Expand All @@ -123,27 +112,31 @@
Sequence: rank-veteran-1
Palette: effect
ReferencePoint: Bottom, Right
ValidStances: Ally, Enemy, Neutral
RequiresCondition: rank-veteran == 1
ZOffset: 256
WithDecoration@RANK-2:
Image: rank
Sequence: rank-veteran-2
Palette: effect
ReferencePoint: Bottom, Right
ValidStances: Ally, Enemy, Neutral
RequiresCondition: rank-veteran == 2
ZOffset: 256
WithDecoration@RANK-3:
Image: rank
Sequence: rank-veteran-3
Palette: effect
ReferencePoint: Bottom, Right
ValidStances: Ally, Enemy, Neutral
RequiresCondition: rank-veteran == 3
ZOffset: 256
WithDecoration@RANK-ELITE:
Image: rank
Sequence: rank-elite
Palette: effect
ReferencePoint: Bottom, Right
ValidStances: Ally, Enemy, Neutral
RequiresCondition: rank-elite
ZOffset: 256

Expand Down Expand Up @@ -442,6 +435,9 @@
MapEditorData:
Categories: Infantry
EdibleByLeap:
DetectCloaked:
CloakTypes: Cloak
Range: 1c0

^Soldier:
Inherits: ^Infantry
Expand All @@ -456,8 +452,6 @@
WithInfantryBody:
IdleSequences: idle1,idle2
StandSequences: stand,stand2
DetectCloaked:
CloakTypes: Thief
AttackFrontal:

^CivInfantry:
Expand Down
19 changes: 5 additions & 14 deletions mods/ra/rules/infantry.yaml
Expand Up @@ -5,7 +5,7 @@ DOG:
BuildAtProductionType: Dog
BuildPaletteOrder: 50
Prerequisites: ~kenn, ~techlevel.infonly
Description: Anti-infantry unit.\nCan detect cloaked units and spies.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft
Description: Anti-infantry unit.\nCan detect spies.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft
Valued:
Cost: 200
Tooltip:
Expand Down Expand Up @@ -61,8 +61,6 @@ DOG:
Modifier: 150
RequiresCondition: run
IgnoresDisguise:
DetectCloaked:
CloakTypes: Cloak, Thief
Voiced:
VoiceSet: DogVoice
-TakeCover:
Expand Down Expand Up @@ -297,7 +295,7 @@ SPY:
BuildAtProductionType: Soldier
BuildPaletteOrder: 90
Prerequisites: ~!infantry.england, dome, ~tent, ~techlevel.medium
Description: Infiltrates enemy structures for intel or\nsabotage. Exact effect depends on the\nbuilding infiltrated.\nLoses disguise when attacking.\nCan detect cloaked units and spies.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft\n Special Ability: Disguised
Description: Infiltrates enemy structures for intel or\nsabotage. Exact effect depends on the\nbuilding infiltrated.\nLoses disguise when attacking.\nCan detect spies.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft\n Special Ability: Disguised
Valued:
Cost: 500
-Tooltip:
Expand Down Expand Up @@ -337,8 +335,6 @@ SPY:
ZOffset: 256
RequiresCondition: disguise
IgnoresDisguise:
DetectCloaked:
CloakTypes: Cloak, Thief
Armament:
Weapon: SilencedPPK
AttackMove:
Expand Down Expand Up @@ -368,7 +364,7 @@ E7:
BuildPaletteOrder: 120
Prerequisites: ~tent, atek, ~techlevel.high
BuildLimit: 1
Description: Elite commando infantry. Armed with\ndual pistols and C4.\nCan detect cloaked units.\nMaximum 1 can be trained.\n Strong vs Infantry, Buildings\n Weak vs Vehicles, Aircraft\n Special Ability: Destroy Building with C4
Description: Elite commando infantry. Armed with\ndual pistols and C4.\nMaximum 1 can be trained.\n Strong vs Infantry, Buildings\n Weak vs Vehicles, Aircraft\n Special Ability: Destroy Building with C4
Valued:
Cost: 1200
Tooltip:
Expand Down Expand Up @@ -407,8 +403,6 @@ E7:
RequiresCondition: produced
Voice: Build
AnnounceOnKill:
DetectCloaked:
CloakTypes: Cloak, Thief
Voiced:
VoiceSet: TanyaVoice
ProducibleWithLevel:
Expand Down Expand Up @@ -564,7 +558,7 @@ THF:
Queue: Infantry
BuildAtProductionType: Soldier
BuildPaletteOrder: 110
Prerequisites: ~barr, fix, ~techlevel.medium
Prerequisites: ~barr, dome, ~techlevel.medium
Description: Steals enemy credits.\nHijacks enemy vehicles.\n Unarmed
Valued:
Cost: 500
Expand Down Expand Up @@ -598,7 +592,7 @@ THF:
InitialDelay: 250
CloakDelay: 120
UncloakOn: Attack, Unload, Infiltrate, Demolish, Move
CloakTypes: Cloak, Thief
CloakTypes: Cloak
IsPlayerPalette: true
PauseOnCondition: cloak-force-disabled
GrantConditionOnDamageState@UNCLOAK:
Expand Down Expand Up @@ -700,9 +694,6 @@ SNIPER:
GrantConditionOnDamageState@UNCLOAK:
Condition: cloak-force-disabled
ValidDamageStates: Critical
DetectCloaked:
CloakTypes: Cloak, Thief
Range: 6c0
-MustBeDestroyed:
ProducibleWithLevel:
Prerequisites: barracks.upgraded
Expand Down
4 changes: 1 addition & 3 deletions mods/ra/rules/misc.yaml
Expand Up @@ -170,9 +170,6 @@ camera.spyplane:
Inherits: CAMERA
EditorOnlyTooltip:
Name: (support power proxy camera)
DetectCloaked:
Range: 10c0
CloakTypes: Cloak, Thief

SONAR:
Inherits: camera.spyplane
Expand All @@ -181,6 +178,7 @@ SONAR:
-RevealsShroud:
DetectCloaked:
CloakTypes: Underwater
Range: 10c0

FLARE:
Immobile:
Expand Down
2 changes: 0 additions & 2 deletions mods/ra/rules/ships.yaml
Expand Up @@ -75,7 +75,6 @@ MSUB:
BuildAtProductionType: Submarine
BuildPaletteOrder: 60
Prerequisites: ~spen, stek, ~techlevel.high
BuildDurationModifier: 50
Description: Submerged anti-ground siege unit\nwith anti-air capabilities.\nCan detect other submarines.\n Strong vs Buildings, Ground units, Aircraft\n Weak vs Naval units\n Special Ability: Submerge
Valued:
Cost: 2000
Expand Down Expand Up @@ -199,7 +198,6 @@ CA:
BuildAtProductionType: Boat
BuildPaletteOrder: 50
Prerequisites: ~syrd, atek, ~techlevel.high
BuildDurationModifier: 50
Description: Very slow long-range ship.\n Strong vs Buildings, Ground units\n Weak vs Naval units, Aircraft
Valued:
Cost: 2400
Expand Down
18 changes: 7 additions & 11 deletions mods/ra/rules/structures.yaml
Expand Up @@ -631,7 +631,7 @@ DOME:
Queue: Building
BuildPaletteOrder: 90
Prerequisites: proc, ~techlevel.medium
Description: Provides an overview\nof the battlefield.\nCan detect cloaked units.\nRequires power to operate.
Description: Provides an overview\nof the battlefield.\nRequires power to operate.
Valued:
Cost: 1800
Tooltip:
Expand Down Expand Up @@ -661,10 +661,6 @@ DOME:
RequiresCondition: !jammed && !disabled
InfiltrateForExploration:
Types: SpyInfiltrate
DetectCloaked:
Range: 10c0
RequiresCondition: !disabled
RenderDetectionCircle:
Power:
Amount: -40
ProvidesPrerequisite@buildingname:
Expand Down Expand Up @@ -1213,7 +1209,7 @@ PROC:
DecorationBounds: 72,70,0,-2
SelectionDecorations:
Targetable:
TargetTypes: Ground, Structure, C4, DetonateAttack, ThiefInfiltrate
TargetTypes: Ground, Structure, C4, DetonateAttack, ThiefInfiltrate, SpyInfiltrate
Health:
HP: 90000
Armor:
Expand All @@ -1238,7 +1234,7 @@ PROC:
Facing: 64
InfiltrateForCash:
Percentage: 50
Types: ThiefInfiltrate
Types: SpyInfiltrate, ThiefInfiltrate
Notification: CreditsStolen
WithBuildingBib:
WithIdleOverlay@TOP:
Expand Down Expand Up @@ -1474,7 +1470,7 @@ AFLD:
Icon: spyplane
ChargeInterval: 3750
Description: Spy Plane
LongDesc: Reveals an area of the map\nand cloaked enemy units.
LongDesc: Reveals an area of the map.
SelectTargetSpeechNotification: SelectTarget
EndChargeSpeechNotification: SpyPlaneReady
CameraActor: camera.spyplane
Expand Down Expand Up @@ -1785,7 +1781,7 @@ KENN:
Prerequisites: anypower, ~structures.soviet, ~techlevel.infonly
Description: Trains Attack Dogs.
Valued:
Cost: 100
Cost: 200
Tooltip:
Name: Kennel
-GivesBuildableArea:
Expand Down Expand Up @@ -1982,7 +1978,7 @@ SBAG:
Prerequisites: fact, ~structures.allies, ~techlevel.low
Description: Stops infantry and light vehicles.\nCan be crushed by tanks.
Valued:
Cost: 50
Cost: 30
CustomSellValue:
Value: 0
Tooltip:
Expand All @@ -2006,7 +2002,7 @@ FENC:
Prerequisites: fact, ~structures.soviet, ~techlevel.low
Description: Stops infantry and light vehicles.\nCan be crushed by tanks.
Valued:
Cost: 50
Cost: 30
CustomSellValue:
Value: 0
Tooltip:
Expand Down

0 comments on commit 8553d71

Please sign in to comment.