diff --git a/src/engine/db/handlers/dbEffectsResourceCostHandler.java b/src/engine/db/handlers/dbEffectsResourceCostHandler.java index 998cdc66..c06b686b 100644 --- a/src/engine/db/handlers/dbEffectsResourceCostHandler.java +++ b/src/engine/db/handlers/dbEffectsResourceCostHandler.java @@ -30,6 +30,12 @@ public class dbEffectsResourceCostHandler extends dbHandlerBase { } public void GENERATE_COST_DATA() { + ArrayList effectList = GET_EFFECTS_WITH_COST(); + + for (String effectID : effectList) { + JSONObject costMap = GET_EFFECT_COSTMAP(effectID); + WRITE_COSTMAP(effectID, costMap); + } }