registerLuaPower

public static LuaPowerManager.Registration registerLuaPower(String registryKey, File sourceFile, String source, String effect, PowersConfigFields.PowerType powerType)

Validates source through the canonical EliteMobs script provider and registers the resulting definition under registryKey. The source file is descriptive only; no file is read.