Skip to content

Commit c573445

Browse files
ports Legion mob nerfs (#908)
1 parent 23d6410 commit c573445

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

code/modules/mob/living/basic/lavaland/legion/legion_brood.dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
AddElement(/datum/element/simple_flying)
3939
AddComponent(/datum/component/swarming)
4040
AddComponent(/datum/component/clickbox, icon_state = "sphere", max_scale = 2)
41+
AddComponent(/datum/component/basic_mob_attack_telegraph)
4142
addtimer(CALLBACK(src, PROC_REF(death)), 10 SECONDS)
4243

4344
/mob/living/basic/legion_brood/death(gibbed)

code/modules/mob/living/basic/lavaland/legion/spawn_legions.dm

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
background_icon_state = "bg_demon"
88
overlay_icon_state = "bg_demon_border"
99
click_to_activate = TRUE
10-
cooldown_time = 2 SECONDS
10+
cooldown_time = 4 SECONDS
1111
melee_cooldown_time = 0
1212
shared_cooldown = NONE
1313
/// If a mob is not clicked directly, inherit targeting data from this blackboard key and setting it upon this target key
@@ -17,6 +17,15 @@
1717
/// How far can we fire?
1818
var/max_range = 7
1919

20+
/datum/action/cooldown/mob_cooldown/skull_launcher/IsAvailable(feedback)
21+
. = ..()
22+
if (!.)
23+
return
24+
if (!isturf(owner.loc))
25+
owner.balloon_alert(owner, "no room!")
26+
return FALSE
27+
return TRUE
28+
2029
/datum/action/cooldown/mob_cooldown/skull_launcher/Activate(atom/target)
2130
var/turf/target_turf = get_turf(target)
2231

0 commit comments

Comments
 (0)