Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Demo General Combat Bike With Demolitions Upgrade Deals No Damage When Destroyed By Gamma Poison #104

Merged
merged 4 commits into from
Sep 10, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Patch104pZH/Design/Tasks/commy2_tasks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ https://github.com/commy2/zerohour/issues/135 [IMPROVEMENT] Tunnel And
https://github.com/commy2/zerohour/issues/134 [IMPROVEMENT] Air Force Carpet Bomber Tooltip Claims 2:30 Cooldown Instead Of True 4:00
https://github.com/commy2/zerohour/issues/133 [MAYBE] Fire Base Command Button Order Misaligned With Other Buildings
https://github.com/commy2/zerohour/issues/132 [MAYBE] Raptor Guard Air Button Misplaced
https://github.com/commy2/zerohour/issues/131 [IMPROVEMENT] Demo General Combat Bike With Demolitions Upgrade Deals No Damage When Destroyed By Gamma Poison
https://github.com/commy2/zerohour/issues/131 [DONE] Demo General Combat Bike With Demolitions Upgrade Deals No Damage When Destroyed By Gamma Poison
https://github.com/commy2/zerohour/issues/130 [IMPROVEMENT][NPROJECT] Demo Combat Bike Uses Portrait As Button
https://github.com/commy2/zerohour/issues/129 [MAYBE] Selling Air Force Supply Center Does Refund Less Than Half Of Build Value
https://github.com/commy2/zerohour/issues/128 [IMPROVEMENT] 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 @@ -17851,6 +17851,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 not damage when killed by Anthrax Gamma poison.
commy2 marked this conversation as resolved.
Show resolved Hide resolved

;Terrorist without suicide bomb upgrade
Behavior = FireWeaponWhenDeadBehavior ModuleTag_Death18
RequiredStatus = STATUS_RIDER5
Expand All @@ -17867,7 +17870,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 @@ -17887,7 +17890,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 @@ -17897,7 +17900,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