mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Bane refactor (now uses damage multipliers) (#96003)
This commit is contained in:
@@ -332,14 +332,17 @@
|
||||
. = ..()
|
||||
AddElement(/datum/element/eyestab)
|
||||
AddElement(/datum/element/wall_engraver)
|
||||
//deals 200 damage to statues, meaning you can actually kill one in ~250 hits
|
||||
AddElement(/datum/element/bane, target_type = /mob/living/basic/statue, damage_multiplier = 40)
|
||||
AddComponent(/datum/component/bane, damage_multiplier = 40, should_bane_callback = CALLBACK(src, PROC_REF(bane_check)), label_text = "statues")
|
||||
|
||||
/obj/item/chisel/Destroy()
|
||||
prepared_block = null
|
||||
tracked_user = null
|
||||
return ..()
|
||||
|
||||
/// Bane component callback
|
||||
/obj/item/chisel/proc/bane_check(mob/living/target)
|
||||
return istype(target, /mob/living/basic/statue)
|
||||
|
||||
/*
|
||||
Hit the block to start
|
||||
Point with the chisel at the target to choose what to sculpt or hit block to choose from preset statue types.
|
||||
|
||||
Reference in New Issue
Block a user