Fixes the last wrong take_damage proc (#9060)

This commit is contained in:
Matt Atlas
2020-06-07 14:20:04 +03:00
committed by GitHub
parent 706f32cf7d
commit 2cda98e2d0
+1 -1
View File
@@ -112,7 +112,7 @@
H.attack_log += text("\[[time_stamp()]\] <font color='red'>[s] ([H.ckey])</font>")
log_attack("[s] ([H.ckey])",ckey=key_name(H))
if(O.take_damage(3,0,1,1,"teeth marks"))
if(O.take_damage(3, 0, damage_flags = DAM_SHARP|DAM_EDGE, used_weapon = "teeth marks"))
H:UpdateDamageIcon()
last_chew = world.time