File tree Expand file tree Collapse file tree
code/modules/mob/living/basic/lavaland/legion Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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)
Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments