From cb10a5508b1a4ef3d4e4e751984ebf5ed5b38914 Mon Sep 17 00:00:00 2001 From: epCode Date: Thu, 11 Mar 2021 19:40:36 -0800 Subject: [PATCH] Make mob damage more red (MC-like) --- mods/ENTITIES/mcl_mobs/api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 6d74d9d78..0c8953079 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -751,10 +751,10 @@ local check_for_death = function(self, cause, cmi_cause) -- play damage sound if health was reduced and make mob flash red. if damaged then - add_texture_mod(self, "^[colorize:#FF000040") + add_texture_mod(self, "^[colorize:red:130") minetest.after(.2, function(self) if self and self.object then - remove_texture_mod(self, "^[colorize:#FF000040") + remove_texture_mod(self, "^[colorize:red:130") end end, self) mob_sound(self, "damage")