proper ear damage proc

This commit is contained in:
Fox-McCloud
2016-07-21 04:24:12 -04:00
parent 00a470fd6d
commit 0a8dca713c
20 changed files with 35 additions and 48 deletions
@@ -51,8 +51,7 @@
if(!ear_safety)
M.Stun(max(10/distance, 3))
M.Weaken(max(10/distance, 3))
M.ear_damage += rand(0, 5)
M.ear_deaf = max(M.ear_deaf,15)
M.setEarDamage(M.ear_damage + rand(0, 5), max(M.ear_deaf,15))
if(M.ear_damage >= 15)
to_chat(M, "<span class='warning'>Your ears start to ring badly!</span>")
if(prob(M.ear_damage - 10 + 5))