As title says, if an upgrade costs, example 50 ship components or 12 relic components, it will consume 50 relic components. Likely cause is RelicComponentUpgradeMethod line 62 references IndEvoUtil.getUpgradeShipComponentPrice instead of IndEvoUtil.getUpgradeRelicComponentPrice.