Iterate through all effects for action

This commit is contained in:
2025-02-20 14:13:13 -05:00
parent fac426a09c
commit 99acc4736f
5 changed files with 33 additions and 29 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ public class EffectsParser {
while (matcher.find()) {
try {
Effect effect = parseEffectEntry(matcher.group());
WpakPowerManager.effect_data.put(effect.effect_id, effect);
WpakPowerManager._effectsLookup.put(effect.effect_id, effect);
}catch(Exception e){
Logger.error("EFFECT PARSE FAILED: " + e);
}
+1 -1
View File
@@ -54,7 +54,7 @@ public class PowerActionParser {
while (matcher.find()) {
PowerAction powerAction = parsePowerActionEntry(matcher.group().trim());
WpakPowerManager.power_actions.put(Hasher.SBStringHash(powerAction.action_id),powerAction);
WpakPowerManager._powerActionLookup.put(Hasher.SBStringHash(powerAction.action_id), powerAction);
}
}
+1 -1
View File
@@ -52,7 +52,7 @@ public class PowersParser {
while (matcher.find()) {
Power power = parsePowerEntry(matcher.group().trim());
WpakPowerManager.powers.put(Hasher.SBStringHash(power.power_id),power);
WpakPowerManager._powersLookup.put(Hasher.SBStringHash(power.power_id), power);
}
}