Signature argument renamed

This commit is contained in:
2024-09-05 15:46:59 -04:00
parent fa45e9556f
commit 17b4b993e2
28 changed files with 79 additions and 112 deletions
@@ -20,8 +20,6 @@ import engine.powers.PowersBase;
import engine.wpak.data.PowerAction;
import org.pmw.tinylog.Logger;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
@@ -33,11 +31,11 @@ public class ApplyEffectsPowerAction extends AbstractPowerAction {
private EffectsBase effect2;
private EffectsBase effectParent;
public ApplyEffectsPowerAction(PowerAction rs, HashMap<String, EffectsBase> effects){
super(rs);
this.IDString = rs.action_id;
this.effectID = rs.effects.get(0).effect_id;
this.effectID2 = rs.effects.get(2).effect_id;
public ApplyEffectsPowerAction(PowerAction powerAction, HashMap<String, EffectsBase> effects) {
super(powerAction);
this.IDString = powerAction.action_id;
this.effectID = powerAction.effects.get(0).effect_id;
this.effectID2 = powerAction.effects.get(2).effect_id;
this.effect = effects.get(this.effectID);
this.effect2 = effects.get(this.effectID2);
this.effectParent = effects.get(this.IDString);