FAForever / fa

Lua code for FAF
223 stars 230 forks source link

Make shields absorb ACU explosions #6060

Closed lL1l1 closed 4 months ago

lL1l1 commented 4 months ago

Description of the proposed changes

Resolves #5006. Gives shields the ability to absorb ACU explosions. The absorption behavior can be easily configured in the new ShieldAbsorptionValues.lua file, similar to how armor types are set up. 190

Testing done on the proposed changes

Spawn power, a shield, and an engineer under the shield. Spawn an enemy/friendly ACU outside the shield and explode it. The shield should take 2500 damage and everything underneath will stay unharmed.

Checklist

Garanas commented 4 months ago

@lL1l1 this is quite an innovative solution, much better than what I would've made of it 😃 !