Fixes shuttle walls interactions, renames shuttle alloy to plastitanium. (#14400)

This commit is contained in:
Matt Atlas
2022-07-07 14:02:00 +02:00
committed by GitHub
parent e5ceffa720
commit f3dfc58468
6 changed files with 59 additions and 52 deletions
+1 -1
View File
@@ -185,7 +185,7 @@
if(reinf_material)
weaken += reinf_material.integrity * 3 //Since girders don't have a secondary material, buff 'em up a bit.
weaken /= 100
do_attack_animation(src)
user.do_attack_animation(src)
playsound(src, 'sound/weapons/smash.ogg', 50)
if(damage_to_deal > weaken && (damage_to_deal > MIN_DAMAGE_TO_HIT))
damage_to_deal -= weaken