I've run into issues when using caverealms mod. To get them to spawn I had to add the following nodes to spawning.lua. 'caverealms:stone_with_salt', 'group:stone'.
The problem is they kept on dying when I got close to them because caverealms have so many glowing objects that there is light underground, so I set "light_damage = 0" in the 3 skeleton*.lua files. However I think this will cause problem above ground. Is there a way to set it so that the skeletons only take damage when the light is above a certain level?