-
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
bugfix(module): Fix damage calculation for determining the initial death of GLA Battle Bus #1603
Conversation
…ining initial death
xezon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
|
|
||
| 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 comment
The reason will be displayed to describe this comment to others. Learn more.
I think better use RETAIL_COMPATIBLE_BUG here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The 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 HAZARD_CLEANUP damage modifier to deal damage.
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 comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
…ath of GLA Battle Bus (TheSuperHackers#1603)
Fixes #135
This change fixes the damage calculation for determining the Battle Bus's initial death, meaning it no longer prematurely dies when receiving damage via radiation or poison fields.
The issue is most notable when receiving damage via radiation or poison fields due to
HazardFieldCoreWeapon- an invisible 200-damage hazard cleanup weapon that typically accompanies poison and radiation fields to stop them from stacking. As no armour damage modifiers are applied to ignore the hazard cleanup damage, the Battle Bus dies when receiving damage from this source if health is <= 200. Even an Ambulance can kill a Battle Bus by exploiting this logic.GOOD_BUS.mp4