compile and misc other fixes

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
Cael_Aislinn
2012-12-29 13:23:43 +10:00
parent c0102cf13e
commit c270fdb2ba
8 changed files with 46 additions and 57 deletions

View File

@@ -42,7 +42,8 @@
updatehealth()
if("disarm")
if (prob(80)) playsound(loc, 'sound/weapons/pierce.ogg', 25, 1, -1)
if (prob(80))
playsound(loc, 'sound/weapons/pierce.ogg', 25, 1, -1)
Weaken(rand(0.5,3))
for(var/mob/O in viewers(src, null))
if ((O.client && !( O.blinded )))

View File

@@ -824,11 +824,6 @@ var/const/BLOOD_VOLUME_SURVIVE = 122
pressure_alert = -2
else
pressure_alert = -1
else if(pressure <= 50)
var/adjusted_pressure = calculate_affecting_pressure(pressure) //Returns how much pressure actually affects the mob.
if(adjusted_pressure < 50)
adjustBruteLoss( (50 - adjusted_pressure) / 50 )
return
/*