noita_entangled_worlds/quant.ew/files/resource/cbs/immortal.lua

7 lines
224 B
Lua
Raw Normal View History

2024-05-10 22:17:45 +03:00
function damage_about_to_be_received( damage, x, y, entity_thats_responsible, critical_hit_chance )
if(entity_thats_responsible ~= GameGetWorldStateEntity())then
return 0, 0
end
return damage, 0
end