Drone Fall Damage Reduction & Matriarch Drone Health Buff (#13899)

This commit is contained in:
Benedict
2022-05-23 08:16:39 -04:00
committed by GitHub
parent 30f8ae18ef
commit 199ad49561
3 changed files with 20 additions and 0 deletions

View File

@@ -144,6 +144,9 @@
return default_language
return all_languages[LANGUAGE_LOCAL_DRONE]
/mob/living/silicon/robot/drone/fall_impact()
..(damage_mod = 0.25) //reduces fall damage by 75%
/mob/living/silicon/robot/drone/construction
// Look and feel
name = "construction drone"
@@ -200,6 +203,8 @@
module_type = /obj/item/robot_module/drone/construction/matriarch
law_type = /datum/ai_laws/matriarch_drone
can_swipe = FALSE
maxHealth = 50
health = 50
var/matrix_tag

View File

@@ -462,6 +462,7 @@
"With a loud thud, you land on \the [loc]!", "You hear a thud!")
var/z_velocity = 5*(levels_fallen**2)
var/damage = ((60 + z_velocity) + rand(-20,20)) * damage_mod
apply_damage(damage, BRUTE)