Cowabunga it is (#15487)

This commit is contained in:
hal9000PR
2021-02-10 18:15:17 +00:00
committed by GitHub
parent ae3c63936b
commit 2aeac3166f
@@ -8,7 +8,8 @@
user.do_attack_animation(target, ATTACK_EFFECT_PUNCH)
target.visible_message("<span class='warning'>[user] elbow drops [target]!</span>", \
"<span class='userdanger'>[user] piledrives you with [user.p_their()] elbow!</span>")
target.death() //FINISH HIM!
if(target.health <= 0) //so it actually checks for crit now
target.death() //FINISH HIM!
target.apply_damage(50, BRUTE, "chest")
playsound(get_turf(target), 'sound/weapons/punch1.ogg', 75, 1, -1)
add_attack_logs(user, target, "Melee attacked with martial-art [src] : Elbow Drop", ATKLOG_ALL)