Version 26.12.2017. Remake of Stx3's Hardcorio:SC2. Hardcorio:SC2 turns Factorio into a hardcore survival game, by completely replacing the enemies, combat mechanics and added life support requirements.
in base_ability (line 858), suggest that you change the following line:
from: "if global.targets[1][roll].valid then"
to : "if global.targets[1][roll].valid and global.targets[1][roll].surface == game.surfaces[1] then"
I'm using Hardcorio:SC2 with Factorissimo ( https://mods.factorio.com/mods/MagmaMcFry/Factorissimo2 ), and noticed that I would crash out with an error because the blob target was being set to an entity inside a Factorissimo surface.