1
0
Fork 0

Add mob's last invulnerability time variable (preparing for held attack key not hitting mobs bugfix)

This commit is contained in:
Eliy21 2023-11-14 14:22:01 +00:00
parent be2fcc925a
commit e6dd0b40fd
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ function mcl_mobs.register_mob(name, def)
xp_min = def.xp_min or 0,
xp_max = def.xp_max or 0,
xp_timestamp = 0,
invul_timestamp = 0,
breath_max = def.breath_max or 15,
breathes_in_water = def.breathes_in_water or false,
physical = true,