New costmap data implemented

This commit is contained in:
2024-04-23 15:05:03 -04:00
parent bcb40fecbb
commit 4fa646ce94
2 changed files with 10 additions and 20 deletions
+2 -4
View File
@@ -218,14 +218,12 @@ public enum ForgeManager implements Runnable {
if (workOrder.prefixToken != 0) {
EffectsBase prefix = PowersManager.getEffectByToken(workOrder.prefixToken);
EffectsBase prefixValue = PowersManager.getEffectByIDString(prefix.getIDString() + 'A');
production_cost.putAll(prefixValue.getResourcesForEffect());
production_cost.putAll(PowersManager._effect_costMaps.get(prefix.getIDString()));
}
if (workOrder.suffixToken != 0) {
EffectsBase suffix = PowersManager.getEffectByToken(workOrder.suffixToken);
EffectsBase suffixValue = PowersManager.getEffectByIDString(suffix.getIDString() + 'A');
production_cost.putAll(suffixValue.getResourcesForEffect());
production_cost.putAll(PowersManager._effect_costMaps.get(suffix.getIDString()));
}
return production_cost;