Fix - Add logs to power gloves (#17177)

This commit is contained in:
Vi3trice
2021-12-01 12:28:18 -05:00
committed by GitHub
parent ca87534d46
commit 598675bac3
+2
View File
@@ -71,8 +71,10 @@
if(isliving(target_atom))
var/mob/living/L = target_atom
if(user.a_intent == INTENT_DISARM)
add_attack_logs(user, L, "shocked and weakened with power gloves")
L.Weaken(3)
else
add_attack_logs(user, L, "electrocuted with[P.unlimited_power ? " unlimited" : null] power gloves")
if(P.unlimited_power)
L.electrocute_act(1000, P, flags = SHOCK_NOGLOVES) //Just kill them
else