mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
cult blade runtime fix
This commit is contained in:
@@ -43,13 +43,14 @@
|
||||
embed_chance = 75
|
||||
var/cooldown = 0
|
||||
|
||||
/obj/item/weapon/melee/cultblade/dagger/afterattack(mob/living/target as mob, mob/living/carbon/human/user as mob)
|
||||
/obj/item/weapon/melee/cultblade/dagger/afterattack(atom/target, mob/living/carbon/human/user)
|
||||
..()
|
||||
var/mob/living/carbon/human/bleeder = target
|
||||
if(!(cooldown > world.time) && ((bleeder.stat != DEAD) && !(NO_BLOOD in bleeder.species.species_traits)))
|
||||
user.visible_message("<span class='danger'>The runes on the blade absorb the blood of [target]!</span>")
|
||||
bleeder.bleed(5000)
|
||||
cooldown = world.time + 2400
|
||||
if(ishuman(target))
|
||||
var/mob/living/carbon/human/H = target
|
||||
if(!(cooldown > world.time) && ((H.stat != DEAD) && !(NO_BLOOD in H.species.species_traits)))
|
||||
user.visible_message("<span class='danger'>The runes on the blade absorb the blood of [H]!</span>")
|
||||
H.bleed(5000)
|
||||
cooldown = world.time + 2400
|
||||
|
||||
/obj/item/weapon/restraints/legcuffs/bola/cult
|
||||
name = "runed bola"
|
||||
|
||||
Reference in New Issue
Block a user