fix wall burning runtime, balance rwalls

rwalls are half as strong again because they took way too long
 to burn down

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
This commit is contained in:
Mloc-Argent
2015-01-16 23:58:15 +00:00
parent 2e0a3e4597
commit 4be653efec
3 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
#define RAND_F(L, H) (rand()*(H-L) + L)
// Credits to Nickr5 for the useful procs I've taken from his library resource.
var/const/E = 2.71828183

View File

@@ -117,7 +117,7 @@
/turf/simulated/wall/adjacent_fire_act(turf/simulated/floor/adj_turf, datum/gas_mixture/adj_air, adj_temp, adj_volume)
if(adj_temp > max_temperature)
take_damage(log(rand(0.9, 1.1) * (adj_temp - max_temperature)))
take_damage(log(RAND_F(0.9, 1.1) * (adj_temp - max_temperature)))
return ..()

View File

@@ -5,7 +5,7 @@
opacity = 1
density = 1
damage_cap = 1000
damage_cap = 500
max_temperature = 6000
armor = 0.1 // Only 10% damage from gunfire, it's made from strong alloys and stuff.
@@ -291,7 +291,7 @@
var/obj/item/light_fixture_frame/small/AH = W
AH.try_build(src)
return
//Finally, CHECKING FOR FALSE WALLS if it isn't damaged
else if(!d_state)
return attack_hand(user)