Skip to content

Commit

Permalink
Colossi are now affected by Vinifera Catalysts.
Browse files Browse the repository at this point in the history
  • Loading branch information
MustaphaTR committed Nov 1, 2024
1 parent fc3fcd8 commit fb222f1
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 5 deletions.
3 changes: 3 additions & 0 deletions mods/sp/languages/rules/en.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -2559,6 +2559,9 @@ colossus-desc = Heavy duty alien.
- Crush class: crushable only by Epics
- Does not receive damage from tiberium fields and all radiations
Upgrades:
- Vinifera Catalysts
mastermind-name = Mastermind
mastermind-desc = The commando unit of Scrin born with the ability
to mind control everyone and everything.
Expand Down
2 changes: 2 additions & 0 deletions mods/sp/rules/creeps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,8 @@ JFISH:
RequiresCondition: attack
DamagedByTintedCells@Colossus:
RequiresCondition: attack
DamagedByTintedCells@ColossusBlue:
RequiresCondition: attack
DamagedByTintedCells@Default:
Damage: -30
ExplodesAlsoTransported@VisceroidDefault:
Expand Down
12 changes: 11 additions & 1 deletion mods/sp/rules/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1017,11 +1017,17 @@
DamageInterval: 25
LayerName: OrangeRadiation
DamagedByTintedCells@Colossus:
Damage: 60
Damage: 30
DamageTypes: EnergyDeath
DamageLevel: 5
DamageInterval: 25
LayerName: ColossusRadiation
DamagedByTintedCells@ColossusBlue:
Damage: 60
DamageTypes: EnergyDeath
DamageLevel: 5
DamageInterval: 25
LayerName: ColossusBlueRadiation

^AffectedByAPAmmunition:
ActorStatValues:
Expand Down Expand Up @@ -2136,6 +2142,8 @@
RequiresCondition: WebDisable || empdisable
DamagedByTintedCells@Colossus:
RequiresCondition: WebDisable || empdisable
DamagedByTintedCells@ColossusBlue:
RequiresCondition: WebDisable || empdisable
RA2Chronoshiftable:
-TerrainsAndDeathTypes:

Expand Down Expand Up @@ -2469,6 +2477,8 @@
RequiresCondition: empdisable
DamagedByTintedCells@Colossus:
RequiresCondition: empdisable
DamagedByTintedCells@ColossusBlue:
RequiresCondition: empdisable
RA2Chronoshiftable:
-TerrainsAndDeathTypes:

Expand Down
11 changes: 8 additions & 3 deletions mods/sp/rules/environment/world.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,24 +248,29 @@ World:
Darkest: 16
Brightest: 256
TintedCellsLayer@BlueRadiation:
Color: 220099
Name: BlueRadiation
Color: 220099
UpdateDelay: 75
FadeoutDelay: 150
Darkest: 16
Brightest: 256
TintedCellsLayer@OrangeRadiation:
Color: EFFF00
Name: OrangeRadiation
Color: EFFF00
UpdateDelay: 25
FadeoutDelay: 150
Darkest: 8
TintedCellsLayer@ColossusRadiation:
Name: ColossusRadiation
FadeoutDelay: 25
Darkest: 16
Brightest: 128
TintedCellsLayer@ColossusBlueRadiation:
Name: ColossusBlueRadiation
Color: 220099
FadeoutDelay: 25
Darkest: 16
Brightest: 128
Name: ColossusRadiation
WeaponTriggerCells@catalyst:
Name: catalystLayer
#ShowDebugOverlay: true
Expand Down
11 changes: 10 additions & 1 deletion mods/sp/rules/infantry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,7 @@ COLOSSI:
Inherits: ^ScrinSoldier
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMoveWithBerserkable
Inherits@EXPERIENCE: ^GainsExperience
Inherits@VINIFERA: ^AffectedByViniferaCatalysts
Inherits@AImicroManagable: ^AImicroManagable
Buildable:
Queue: Infantry.Shared, Infantry.Scrin
Expand All @@ -2006,6 +2007,7 @@ COLOSSI:
Passenger:
RequireForceMoveCondition: !undeployed
-DamagedByTintedCells@Colossus:
-DamagedByTintedCells@ColossusBlue:
SpawnActorOnDeath@conversion:
Actor: chusk
SpawnActorOnDeath@conversionUpg:
Expand Down Expand Up @@ -2050,7 +2052,12 @@ COLOSSI:
SparkWeapon: ColossiBlast
Amount: 1
Interval: 10
RequiresCondition: deployed && !WebDisable
RequiresCondition: deployed && !vinifera_catalysts && !WebDisable
SpawnSparks@deploy-blue:
SparkWeapon: ColossiBlastBlue
Amount: 1
Interval: 10
RequiresCondition: deployed && vinifera_catalysts && !WebDisable
WithIdleOverlay@deploy:
Sequence: colossideploy
Palette: scrinenergystuffs
Expand Down Expand Up @@ -2724,6 +2731,8 @@ MOTH:
RequiresCondition: deployed || WebDisable || empdisable
DamagedByTintedCells@Colossus:
RequiresCondition: deployed || WebDisable || empdisable
DamagedByTintedCells@ColossusBlue:
RequiresCondition: deployed || WebDisable || empdisable
Armament@1:
Weapon: LurkerProj
PauseOnCondition: WebDisable || empdisable || !deployed
Expand Down
2 changes: 2 additions & 0 deletions mods/sp/rules/vehicles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3033,6 +3033,8 @@ LIMPED:
RequiresCondition: deployed || empdisable
DamagedByTintedCells@Colossus:
RequiresCondition: deployed || empdisable
DamagedByTintedCells@ColossusBlue:
RequiresCondition: deployed || empdisable
-ChangesHealth@veinholedrain:
-ExternalCondition@veinholedrain:
-WithIdleOverlay@veinholedrain:
Expand Down
5 changes: 5 additions & 0 deletions mods/sp/weapons/scrweapons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ ColossiBlast:
LayerName: ColossusRadiation
AirThreshold: 8c0

ColossiBlastBlue:
Inherits: ColossiBlast
Warhead@8Radio: CreateTintedCells
LayerName: ColossusBlueRadiation

FloatTesla:
ReloadDelay: 75
Range: 7c0
Expand Down

0 comments on commit fb222f1

Please sign in to comment.