Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
AddElement(/datum/element/simple_flying)
AddComponent(/datum/component/swarming)
AddComponent(/datum/component/clickbox, icon_state = "sphere", max_scale = 2)
AddComponent(/datum/component/basic_mob_attack_telegraph)
addtimer(CALLBACK(src, PROC_REF(death)), 10 SECONDS)

/mob/living/basic/legion_brood/death(gibbed)
Expand Down
11 changes: 10 additions & 1 deletion code/modules/mob/living/basic/lavaland/legion/spawn_legions.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
background_icon_state = "bg_demon"
overlay_icon_state = "bg_demon_border"
click_to_activate = TRUE
cooldown_time = 2 SECONDS
cooldown_time = 4 SECONDS
melee_cooldown_time = 0
shared_cooldown = NONE
/// If a mob is not clicked directly, inherit targeting data from this blackboard key and setting it upon this target key
Expand All @@ -17,6 +17,15 @@
/// How far can we fire?
var/max_range = 7

/datum/action/cooldown/mob_cooldown/skull_launcher/IsAvailable(feedback)
. = ..()
if (!.)
return
if (!isturf(owner.loc))
owner.balloon_alert(owner, "no room!")
return FALSE
return TRUE

/datum/action/cooldown/mob_cooldown/skull_launcher/Activate(atom/target)
var/turf/target_turf = get_turf(target)

Expand Down
Loading