-
Notifications
You must be signed in to change notification settings - Fork 117
bugfix(module): Fix damage calculation for determining the initial death of GLA Battle Bus #1603
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -81,7 +81,12 @@ void UndeadBody::attemptDamage( DamageInfo *damageInfo ) | |
|
|
||
| if( damageInfo->in.m_damageType != DAMAGE_UNRESISTABLE | ||
| && !m_isSecondLife | ||
| #if RETAIL_COMPATIBLE_CRC | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think better use RETAIL_COMPATIBLE_BUG here
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As in this is a desirable bug to be kept? If some players strangely desire this behaviour, they can surely just tweak the Battle Bus's Armor BattleBusTruckArmor
+ Armor = HAZARD_CLEANUP 50% ;Now consistently harmed by cleaning weapons
- Armor = HAZARD_CLEANUP 0% ;Not harmed by cleaning weapons
EndThere was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok |
||
| && damageInfo->in.m_amount >= getHealth() | ||
| #else | ||
| // TheSuperHackers @bugfix Stubbjax 20/09/2025 Battle Buses now correctly apply damage modifiers when calculating lethal damage | ||
| && estimateDamage(damageInfo->in) >= getHealth() | ||
| #endif | ||
| && IsHealthDamagingDamage(damageInfo->in.m_damageType) | ||
| ) | ||
| { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.