mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 18:12:40 +00:00
Drone Fall Damage Reduction & Matriarch Drone Health Buff (#13899)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user