Skip to content

Commit

Permalink
Fix: Demo General Combat Bike With Demolitions Upgrade Deals No Damag…
Browse files Browse the repository at this point in the history
…e When Destroyed By Gamma Poison (#104)
  • Loading branch information
commy2 authored Sep 10, 2021
1 parent ebd95cd commit aff4799
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Patch104pZH/Design/Tasks/commy2_tasks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ https://github.com/commy2/zerohour/issues/135 [IMPROVEMENT][NPROJECT] Tunnel And
https://github.com/commy2/zerohour/issues/134 [IMPROVEMENT][NPROJECT] Air Force Carpet Bomber Tooltip Claims 2:30 Cooldown Instead Of True 4:00
https://github.com/commy2/zerohour/issues/133 [MAYBE][NPROJECT] Fire Base Command Button Order Misaligned With Other Buildings
https://github.com/commy2/zerohour/issues/132 [MAYBE][NPROJECT] Raptor Guard Air Button Misplaced
https://github.com/commy2/zerohour/issues/131 [IMPROVEMENT][NPROJECT] Demo General Combat Bike With Demolitions Upgrade Deals No Damage When Destroyed By Gamma Poison
https://github.com/commy2/zerohour/issues/131 [DONE][NPROJECT] Demo General Combat Bike With Demolitions Upgrade Deals No Damage When Destroyed By Gamma Poison
https://github.com/commy2/zerohour/issues/130 [DONE][NPROJECT] Demo Combat Bike Uses Portrait As Button
https://github.com/commy2/zerohour/issues/129 [MAYBE][NPROJECT] Selling Air Force Supply Center Does Refund Less Than Half Of Build Value
https://github.com/commy2/zerohour/issues/128 [IMPROVEMENT][NPROJECT] Repair And Reinforcement Pads Reward XP When Killed
Expand Down
9 changes: 6 additions & 3 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/DemoGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17907,6 +17907,9 @@ Object Demo_GLAVehicleCombatBike
; FlingPitchVariance = 10
; End

; Patch104p @bugfix commy2 29/08/2021 Fix poison death not firing expected death weapons.
; This made Bike deal no damage when killed by Anthrax Gamma poison.

;Terrorist without suicide bomb upgrade
Behavior = FireWeaponWhenDeadBehavior ModuleTag_Death18
RequiredStatus = STATUS_RIDER5
Expand All @@ -17923,7 +17926,7 @@ Object Demo_GLAVehicleCombatBike
StartsActive = No
TriggeredBy = Demo_Upgrade_SuicideBomb
RequiresAllTriggers = Yes;
DeathTypes = ALL -SUICIDED -POISONED -POISONED_BETA -POISONED_GAMMA
DeathTypes = ALL -SUICIDED
End;

;Non-terrorist with suicide bomb upgrade (no fire)
Expand All @@ -17943,7 +17946,7 @@ Object Demo_GLAVehicleCombatBike
StartsActive = No
TriggeredBy = Demo_Upgrade_SuicideBomb
RequiresAllTriggers = Yes;
DeathTypes = ALL -SUICIDED -POISONED -POISONED_BETA -POISONED_GAMMA
DeathTypes = ALL -SUICIDED
End;

;Terrorist with suicide bomb upgrade (no fire)
Expand All @@ -17953,7 +17956,7 @@ Object Demo_GLAVehicleCombatBike
StartsActive = No
TriggeredBy = Demo_Upgrade_SuicideBomb
RequiresAllTriggers = Yes;
DeathTypes = NONE +SUICIDED +POISONED +POISONED_BETA
DeathTypes = NONE +SUICIDED
End;

Behavior = CommandSetUpgrade ModuleTag_23
Expand Down

0 comments on commit aff4799

Please sign in to comment.