diff --git a/code/game/turfs/simulated/wall_attacks.dm b/code/game/turfs/simulated/wall_attacks.dm index 8bc362a1d76..1eaca16e761 100644 --- a/code/game/turfs/simulated/wall_attacks.dm +++ b/code/game/turfs/simulated/wall_attacks.dm @@ -57,12 +57,19 @@ source.thermal_conductivity = initial(source.thermal_conductivity) /turf/simulated/wall/proc/fail_smash(var/mob/user) - to_chat(user, "You smash against the wall!") + var/damage_lower = 25 + var/damage_upper = 75 if(isanimal(user)) var/mob/living/simple_animal/S = user playsound(src, S.attack_sound, 75, 1) + if(!(S.melee_damage_upper >= 10)) + to_chat(user, "You bounce against the wall.") + return FALSE + damage_lower = S.melee_damage_lower + damage_upper = S.melee_damage_upper + to_chat(user, "You smash against the wall!") user.do_attack_animation(src) - take_damage(rand(25,75)) + take_damage(rand(damage_lower,damage_upper)) /turf/simulated/wall/proc/success_smash(var/mob/user) to_chat(user, "You smash through the wall!")