|
|
|
@ -138,7 +138,21 @@ public enum PowersManager {
@@ -138,7 +138,21 @@ public enum PowersManager {
|
|
|
|
|
PowersParser.parseWpakFile(); |
|
|
|
|
PowerActionParser.parseWpakFile(); |
|
|
|
|
|
|
|
|
|
InitializeEffects(); |
|
|
|
|
//InitializeEffects();
|
|
|
|
|
|
|
|
|
|
ArrayList<EffectsBase> ebList = dbEffectsBaseHandler.getAllEffectsBase(); |
|
|
|
|
|
|
|
|
|
for (EffectsBase eb : ebList) { |
|
|
|
|
PowersManager.effectsBaseByToken.put(eb.getToken(), eb); |
|
|
|
|
PowersManager.effectsBaseByIDString.put(eb.getIDString(), eb); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Add Fail Conditions
|
|
|
|
|
EffectsBase.getFailConditions(PowersManager.effectsBaseByIDString); |
|
|
|
|
|
|
|
|
|
// Add Modifiers to Effects
|
|
|
|
|
dbEffectsBaseHandler.cacheAllEffectModifiers(); |
|
|
|
|
|
|
|
|
|
// Add Source Types to Effects
|
|
|
|
|
dbPowerHandler.addAllSourceTypes(); |
|
|
|
|