mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
Rock Absorber buffs expire 90% faster (#90981)
## About The Pull Request 5 minutes -> 30 seconds ## Why It's Good For The Game Anne politely informed me that 5 minutes for one sheet is maybe a bit excessive ## Changelog 🆑 Melbert balance: Rock Absorber duration reduced by 90% /🆑
This commit is contained in:
@@ -95,11 +95,14 @@
|
||||
return TRUE
|
||||
|
||||
/datum/status_effect/golem/on_creation(mob/living/new_owner)
|
||||
if(!isgolem(new_owner))
|
||||
duration *= 0.1
|
||||
var/buff_duration = duration
|
||||
. = ..()
|
||||
if (!.)
|
||||
return FALSE
|
||||
return .
|
||||
var/atom/movable/screen/alert/status_effect/golem_status/status_alert = linked_alert
|
||||
status_alert?.update_details(buff_time = initial(duration))
|
||||
status_alert?.update_details(buff_time = buff_duration)
|
||||
|
||||
/datum/status_effect/golem/on_remove()
|
||||
to_chat(owner, span_warning("The effect of the [mineral_name] fades."))
|
||||
@@ -451,6 +454,11 @@
|
||||
var/glow_color = LIGHT_COLOR_DEFAULT
|
||||
var/obj/effect/dummy/lighting_obj/moblight/lightbulb
|
||||
|
||||
/datum/status_effect/golem_lightbulb/on_creation(mob/living/new_owner, ...)
|
||||
if(!isgolem(new_owner))
|
||||
duration *= 0.3
|
||||
return ..()
|
||||
|
||||
/datum/status_effect/golem_lightbulb/on_apply()
|
||||
. = ..()
|
||||
if (!.)
|
||||
|
||||
Reference in New Issue
Block a user