Merge pull request #5713 from Citadel-Station-13/upstream-merge-35930

[MIRROR] Blood Cult Conversion Fixes
This commit is contained in:
deathride58
2018-02-26 00:28:29 +00:00
committed by GitHub
3 changed files with 10 additions and 8 deletions

View File

@@ -525,7 +525,7 @@
. = ..()
//Construction: Creates a construct shell out of 25 metal sheets, or converts plasteel into runed metal
//Construction: Creates a construct shell out of 50 metal sheets, or converts plasteel into runed metal
/obj/item/melee/blood_magic/construction
name = "Corrupting Aura"
desc = "Corrupts metal and plasteel into more sinister forms."
@@ -546,12 +546,12 @@
to_chat(user, "<span class='warning'>You need 50 metal to produce a construct shell!</span>")
else if(istype(target, /obj/item/stack/sheet/plasteel))
var/obj/item/stack/sheet/plasteel/candidate = target
var/quantity = min(candidate.amount, uses)
uses -= quantity
new /obj/item/stack/sheet/runed_metal(T,quantity)
candidate.use(quantity)
to_chat(user, "<span class='warning'>A dark cloud eminates from you hand and swirls around the plasteel, transforming it into runed metal!</span>")
SEND_SOUND(user, sound('sound/effects/magic.ogg',0,1,25))
var/quantity = candidate.amount
if(candidate.use(quantity))
uses --
new /obj/item/stack/sheet/runed_metal(T,quantity)
to_chat(user, "<span class='warning'>A dark cloud eminates from you hand and swirls around the plasteel, transforming it into runed metal!</span>")
SEND_SOUND(user, sound('sound/effects/magic.ogg',0,1,25))
else if(istype(target,/mob/living/silicon/robot))
var/mob/living/silicon/robot/candidate = target
if(candidate.mmi)

View File

@@ -133,7 +133,8 @@ structure_check() searches for nearby cultist structures required for the invoca
var/C = pick_n_take(invokers)
if(!C)
break
chanters += C
if(C != user)
chanters += C
return chanters
/obj/effect/rune/proc/invoke(var/list/invokers)

View File

@@ -302,6 +302,7 @@
/obj/effect/proc_holder/spell/targeted/inflict_handler/juggernaut
name = "Gauntlet Echo"
alpha = 180
amt_dam_brute = 30
amt_knockdown = 50
sound = 'sound/weapons/punch3.ogg'