mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Reworks lavaland tendrils into minibosses (#96186)
This commit is contained in:
@@ -218,7 +218,7 @@
|
||||
var/backstabbed = FALSE
|
||||
var/def_check = target.getarmor(type = BOMB)
|
||||
// Backstab bonus
|
||||
if(check_behind(user, target) || boosted_mark)
|
||||
if(check_behind(user, target) && !HAS_TRAIT(target, TRAIT_BACKSTAB_IMMUNE) || boosted_mark)
|
||||
backstabbed = TRUE
|
||||
combined_damage += backstab_bonus
|
||||
playsound(user, backstab_sound, 100, TRUE) //Seriously who spelled it wrong
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
/obj/item/organ/monster_core/rush_gland/on_mob_insert(mob/living/carbon/organ_owner)
|
||||
. = ..()
|
||||
RegisterSignal(organ_owner, COMSIG_GOLIATH_TENTACLED_GRABBED, PROC_REF(trigger_organ_action_on_sig))
|
||||
RegisterSignal(organ_owner, COMSIG_TENDRIL_TENTACLED_GRABBED, PROC_REF(trigger_organ_action_on_sig))
|
||||
|
||||
/obj/item/organ/monster_core/rush_gland/on_mob_remove(mob/living/carbon/organ_owner, special, movement_flags)
|
||||
. = ..()
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
playsound(src, 'sound/effects/magic/lightningshock.ogg', 10, TRUE, extrarange = SILENCED_SOUND_EXTRARANGE, falloff_distance = 0)
|
||||
targeted_turfs += target_turf
|
||||
balloon_alert(user, "you aim at [target_turf]...")
|
||||
new /obj/effect/temp_visual/telegraphing/thunderbolt(target_turf)
|
||||
new /obj/effect/temp_visual/telegraphing/circle(target_turf)
|
||||
addtimer(CALLBACK(src, PROC_REF(throw_thunderbolt), target_turf, power_boosted), 1.5 SECONDS)
|
||||
thunder_charges--
|
||||
addtimer(CALLBACK(src, PROC_REF(recharge)), thunder_charge_time)
|
||||
|
||||
Reference in New Issue
Block a user