mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
Lordpidey devil fixes (#24693)
* Devils made via event can no longer ascend. Admins can control whether or not a devil may ascend via traitor panel. * Adds logging * Fixes #21326, Fixes #21321 * Fixes compile error, removes dead code. * Moves logging to where it's supposed to be. * Arch devils can now destroy walls with pitchfork. * Fixes compile error. * Summon dancefloor can't be used to break down walls. * Improves disco floor wall check * Fixes traitor panel for devils. * refactors human attack_hand * Fixes compile error * Devils now respawn with clothes.
This commit is contained in:
@@ -578,6 +578,9 @@
|
||||
force_unwielded = 19
|
||||
force_wielded = 25
|
||||
|
||||
/obj/item/weapon/twohanded/pitchfork/demonic/Initialize()
|
||||
set_light(3,6,LIGHT_COLOR_RED)
|
||||
|
||||
/obj/item/weapon/twohanded/pitchfork/demonic/greater
|
||||
force = 24
|
||||
throwforce = 50
|
||||
@@ -615,6 +618,17 @@
|
||||
user.apply_damage(rand(force/2, force), BURN, pick("l_arm", "r_arm"))
|
||||
..()
|
||||
|
||||
/obj/item/weapon/twohanded/pitchfork/demonic/ascended/afterattack(atom/target, mob/user, proximity)
|
||||
if(!proximity || !wielded)
|
||||
return
|
||||
if(istype(target, /turf/closed/wall))
|
||||
var/turf/closed/wall/W = target
|
||||
user.visible_message("<span class='danger'>[user] blasts \the [target] with \the [src]!</span>")
|
||||
playsound(target, 'sound/magic/Disintegrate.ogg', 100, 1)
|
||||
W.break_wall()
|
||||
return 1
|
||||
..()
|
||||
|
||||
//HF blade
|
||||
|
||||
/obj/item/weapon/twohanded/vibro_weapon
|
||||
|
||||
Reference in New Issue
Block a user