Explosive Biters


This mod adds a nest of explosive aliens and worms! These aliens will explode on death (area damage) and spread fire. Fire spitters are also deadly burning everything! And if you see their Mother, run, run for you life! Say goodbye to your walls! Good luck! Note:Autoplace configured for hot areas found in alien-biomes mod.

Content
4 days ago
0.16 - 2.0
63.0K
Enemies

g About damage formula

5 years ago

today i find some time to do few small tests with new dmg multipliers and i cannot figure out whats the formula behind it

0.5 multiplier :
medium spitter 930dmg from single attack
big spitter 1410dmg from single attack
big biter dmg to walls 21 from explosion after death

0.1 multiplier:
medium spitter 38 dmg from single attack
big spitter 57 dmg from single attack
big biter something around 11dmg to walls (i lost screenshot)

didn't test behemot spitters cause i don't have entity what can survive single attack at 0.5mp

so why this numbers so unlogic and not linear? when i set it to 0.1 just to see what happen i expext to get 1/5 of damage but not this.

5 years ago

The problem is that we have 2 effects applyed in this mod. The spit itself, and the fire it spreads. I myself dont know exactly how factiorio haldles this.
In code, for example, the medium spitter has a damage_modifier=2DAMAGE_S, where DAMAGE_S is the mod setting. But the spit alse creates fire with this code
fire.damage_per_tick = {amount = 2
DAMAGE_S, type = "fire"},
So, thats is complicated...

New response