Auto-rebuilding of broken attack sector blocks on restart

This commit is contained in:
Anuken
2020-11-26 20:19:13 -05:00
parent 9863cbc991
commit 0a290d2e10
4 changed files with 13 additions and 1 deletions
@@ -397,7 +397,7 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
/** Actually destroys the unit, removing it and creating explosions. **/
public void destroy(){
float explosiveness = 2f + item().explosiveness * stack().amount * 1.4f;
float explosiveness = 2f + item().explosiveness * stack().amount * 1.53f;
float flammability = item().flammability * stack().amount / 1.9f;
if(!spawnedByCore){