|
|
@ -183,22 +183,6 @@ public class EffectsBase { |
|
|
|
// getFailConditions();
|
|
|
|
// getFailConditions();
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static EffectsBase createNoDbEffectsBase(EffectsBase copyEffect, int newToken, String IDString){ |
|
|
|
|
|
|
|
EffectsBase cachedEffectsBase = new EffectsBase(copyEffect,newToken,IDString); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (cachedEffectsBase == null) |
|
|
|
|
|
|
|
return null; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//add to Lists.
|
|
|
|
|
|
|
|
PowersManager.effectsBaseByIDString.put(cachedEffectsBase.IDString, cachedEffectsBase); |
|
|
|
|
|
|
|
PowersManager.effectsBaseByToken.put(cachedEffectsBase.token, cachedEffectsBase); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return cachedEffectsBase; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static ArrayList<EffectsBase> getAllEffectsBase() { |
|
|
|
public static ArrayList<EffectsBase> getAllEffectsBase() { |
|
|
|
PreparedStatementShared ps = null; |
|
|
|
PreparedStatementShared ps = null; |
|
|
|
ArrayList<EffectsBase> out = new ArrayList<>(); |
|
|
|
ArrayList<EffectsBase> out = new ArrayList<>(); |
|
|
|