Skip to content

Commit

Permalink
fix missing entry in SwallowDamageTypesIfSlavesNotExisting
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 committed Jul 16, 2023
1 parent 663d0e0 commit 2b05cf1
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 7 deletions.
5 changes: 5 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/INI/Armor.ini
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ Armor ChemSuitHumanArmor
Armor = SUBDUAL_BUILDING 0%
End

; Patch104p @bugfix commy2 16/07/2023 Fix Flashbang Rangers not being able to target Stinger Sites.
; Note that damage is not dealt to the structure, because SwallowDamageTypesIfSlavesNotExisting now
; includes the SURRENDER damage type. This only affects targeting. Stinger Troopers were already
; vulnerable to Flashbangs, but the attacker had to force-fire the ground next to the Stinger Site.

Armor StingerSoldierArmor
Armor = DEFAULT 25%
Armor = EXPLOSION 10% ;Heavily protected by the stinger site against airstrikes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6384,6 +6384,7 @@ Object Chem_GLAStingerSite
;**damage slaves.
; Patch104p @bugfix commy2 15/08/2022 Fix Stinger Site fail to forward microwave passive emitter damage to Stinger Troopers.
PropagateDamageTypesToSlavesWhenExisting = NONE +SMALL_ARMS +SNIPER +POISON +RADIATION +SURRENDER +MICROWAVE
; Patch104p @bugfix commy2 16/07/2023 Fix Flashbang Rangers not being able to target Stinger Sites.
SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON; Take no damage if no one to pass this to

; Subdual damage "Subdues" you (reaction defined by BodyModule) when it passes your max health.
Expand Down
3 changes: 2 additions & 1 deletion Patch104pZH/GameFilesEdited/Data/INI/Object/DemoGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6271,7 +6271,8 @@ Object Demo_GLAStingerSite
;**damage slaves.
; Patch104p @bugfix commy2 15/08/2022 Fix Stinger Site fail to forward microwave passive emitter damage to Stinger Troopers.
PropagateDamageTypesToSlavesWhenExisting = NONE +SMALL_ARMS +SNIPER +POISON +RADIATION +SURRENDER +MICROWAVE
SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON; Take no damage if no one to pass this to
; Patch104p @bugfix commy2 16/07/2023 Fix Flashbang Rangers not being able to target Stinger Sites.
SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON +SURRENDER; Take no damage if no one to pass this to

; Subdual damage "Subdues" you (reaction defined by BodyModule) when it passes your max health.
; The cap limits how extra-subdued you can be, and the other numbers detemine how fast it drains away on its own.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17412,8 +17412,9 @@ Object GLAStingerSite
InitialHealth = 1000.0
;**Careful with these damage types -- because area damage types will already
;**damage slaves.
PropagateDamageTypesToSlavesWhenExisting = NONE +SMALL_ARMS +SNIPER +POISON +RADIATION +SURRENDER +MICROWAVE
SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON; Take no damage if no one to pass this to
PropagateDamageTypesToSlavesWhenExisting = NONE +SMALL_ARMS +SNIPER +POISON +RADIATION +SURRENDER +MICROWAVE
; Patch104p @bugfix commy2 16/07/2023 Fix Flashbang Rangers not being able to target Stinger Sites.
SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON +SURRENDER; Take no damage if no one to pass this to

; Subdual damage "Subdues" you (reaction defined by BodyModule) when it passes your max health.
; The cap limits how extra-subdued you can be, and the other numbers detemine how fast it drains away on its own.
Expand Down Expand Up @@ -34593,7 +34594,8 @@ Object GLAStingerSiteNoHole
;**damage slaves.
; Patch104p @bugfix commy2 15/08/2022 Fix Stinger Site fail to forward microwave passive emitter damage to Stinger Troopers.
PropagateDamageTypesToSlavesWhenExisting = NONE +SMALL_ARMS +SNIPER +POISON +RADIATION +SURRENDER +MICROWAVE
SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON; Take no damage if no one to pass this to
; Patch104p @bugfix commy2 16/07/2023 Fix Flashbang Rangers not being able to target Stinger Sites.
SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON +SURRENDER; Take no damage if no one to pass this to

; Subdual damage "Subdues" you (reaction defined by BodyModule) when it passes your max health.
; The cap limits how extra-subdued you can be, and the other numbers detemine how fast it drains away on its own.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,8 @@ Object GC_Chem_GLAStingerSite
;**damage slaves.
; Patch104p @bugfix commy2 15/08/2022 Fix Stinger Site fail to forward microwave passive emitter damage to Stinger Troopers.
PropagateDamageTypesToSlavesWhenExisting = NONE +SMALL_ARMS +SNIPER +POISON +RADIATION +SURRENDER +MICROWAVE
SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON; Take no damage if no one to pass this to
; Patch104p @bugfix commy2 16/07/2023 Fix Flashbang Rangers not being able to target Stinger Sites.
SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON +SURRENDER; Take no damage if no one to pass this to

; Subdual damage "Subdues" you (reaction defined by BodyModule) when it passes your max health.
; The cap limits how extra-subdued you can be, and the other numbers detemine how fast it drains away on its own.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2935,7 +2935,8 @@ Object GC_Slth_GLAStingerSite
;**damage slaves.
; Patch104p @bugfix commy2 15/08/2022 Fix Stinger Site fail to forward microwave passive emitter damage to Stinger Troopers.
PropagateDamageTypesToSlavesWhenExisting = NONE +SMALL_ARMS +SNIPER +POISON +RADIATION +SURRENDER +MICROWAVE
SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON; Take no damage if no one to pass this to
; Patch104p @bugfix commy2 16/07/2023 Fix Flashbang Rangers not being able to target Stinger Sites.
SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON +SURRENDER; Take no damage if no one to pass this to

; Subdual damage "Subdues" you (reaction defined by BodyModule) when it passes your max health.
; The cap limits how extra-subdued you can be, and the other numbers detemine how fast it drains away on its own.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6966,7 +6966,8 @@ Object Slth_GLAStingerSite
;**damage slaves.
; Patch104p @bugfix commy2 15/08/2022 Fix Stinger Site fail to forward microwave passive emitter damage to Stinger Troopers.
PropagateDamageTypesToSlavesWhenExisting = NONE +SMALL_ARMS +SNIPER +POISON +RADIATION +SURRENDER +MICROWAVE
SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON; Take no damage if no one to pass this to
; Patch104p @bugfix commy2 16/07/2023 Fix Flashbang Rangers not being able to target Stinger Sites.
SwallowDamageTypesIfSlavesNotExisting = NONE +SNIPER +POISON +SURRENDER; Take no damage if no one to pass this to

; Subdual damage "Subdues" you (reaction defined by BodyModule) when it passes your max health.
; The cap limits how extra-subdued you can be, and the other numbers detemine how fast it drains away on its own.
Expand Down

0 comments on commit 2b05cf1

Please sign in to comment.