forked from MagicBane/Server
Signature argument renamed
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user