who names a var T.
This commit is contained in:
@@ -470,7 +470,7 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal)
|
|||||||
//Heat and mols account for each other, a lot of hot mols are more damaging then a few
|
//Heat and mols account for each other, a lot of hot mols are more damaging then a few
|
||||||
//Mols start to have a positive effect on damage after 350
|
//Mols start to have a positive effect on damage after 350
|
||||||
var/spaced = 0
|
var/spaced = 0
|
||||||
for(var/turf/open/space/T in range(2,src))
|
for(var/turf/open/space/_space_turf in range(2,src))
|
||||||
spaced++
|
spaced++
|
||||||
damage = max(damage + (max(clamp(removed.total_moles() / 200, 0.5, 1) * removed.return_temperature() - ((T0C + HEAT_PENALTY_THRESHOLD)*dynamic_heat_resistance), 0) * mole_heat_penalty / 150 ) * DAMAGE_INCREASE_MULTIPLIER, 0)
|
damage = max(damage + (max(clamp(removed.total_moles() / 200, 0.5, 1) * removed.return_temperature() - ((T0C + HEAT_PENALTY_THRESHOLD)*dynamic_heat_resistance), 0) * mole_heat_penalty / 150 ) * DAMAGE_INCREASE_MULTIPLIER, 0)
|
||||||
//Power only starts affecting damage when it is above 5000
|
//Power only starts affecting damage when it is above 5000
|
||||||
|
|||||||
Reference in New Issue
Block a user