Page 1 of 1

fire_penalty

Posted: Sun Apr 28, 2019 4:15 pm
by Deadlock989
This is a parameter in the attack_parameters prototype. In vanilla, only the flamethrower turret uses it.

What does it do?

Re: fire_penalty

Posted: Sun Apr 28, 2019 4:23 pm
by Bilka
copy paste from source
/** Used when searching for the nearest enemy to penalize units that are burning. */
So I'd say it makes the flamethrower turret prefer non-burning enemies over burning enemies. Burning in this case: has sticker that has a "spread_fire_entity" attached to it.

Re: fire_penalty

Posted: Sun Apr 28, 2019 4:28 pm
by Deadlock989
Cheers mate.