This commit is contained in:
lolman360
2020-08-24 23:42:39 +10:00
parent dcbdc05c5a
commit a2f33d27a2

View File

@@ -169,7 +169,7 @@
if(user.mind.skill_holder)
var/skillmod = user.mind.get_skill_level(/datum/skill/level/dorfy/blacksmithing)/10 + 1
finalfailchance = max(0, finalfailchance / skillmod) //lv 2 gives 20% less to fail, 3 30%, etc
if(currentsteps > 10 || (rng && prob(finalfailchance)) || artifact)
if(currentsteps > 10 || (rng && prob(finalfailchance)) || !artifact)
to_chat(user, "<span class='warning'?You overwork the metal, causing it to turn into useless slag!</span>")
var/turf/T = get_turf(user)
workpiece_state = FALSE