FAForever / fa

Lua code for FAF
221 stars 228 forks source link

Move hidden crash damage out of Ahwassa and CZAR scripts #6311

Closed lL1l1 closed 3 days ago

lL1l1 commented 3 days ago

Issue

Ahwassa/CZAR deals 1000 damage in 5 radius due to a line in its script, which makes that information unknown to the user because it is not in the blueprint.

Description of the proposed changes

Removes the scripted damage and adds it to the blueprint. This results in:

Testing done on the proposed changes

Crashing these air T4s through shields deals expected damage.

Additional context

Previous balance PR reducing crash damage: https://github.com/FAForever/fa/pull/4543

Checklist

Garanas commented 3 days ago

It feels like to me that this is merged in a little bit fast.

For example, unrelated to the idea behind the changes, the current implementation also changes the behavior how trees fall to the ground. This may not matter much gameplay-wise, but it's a small and harmless detail that matters for those that happen to see it 😄 !

MrRowey commented 3 days ago

It feels like to me that this is merged in a little bit fast. tbh didn't see when the pr was made xD just saw the notification xD

lL1l1 commented 3 days ago

For example, unrelated to the idea behind the changes, the current implementation also changes the behavior how trees fall to the ground.

The Unit.lua deathweapon already creates TreeForce damage. Does stacking TreeForce damage create a stronger effect?