Track poweraction work

This commit is contained in:
2024-09-07 15:05:31 -04:00
parent bdb9a12bd5
commit a41288ac78
2 changed files with 8 additions and 51 deletions
@@ -25,63 +25,20 @@ import java.util.HashMap;
public class TrackPowerAction extends AbstractPowerAction {
private String effectID;
private boolean trackPlayer;
private boolean trackCorpse;
private boolean trackAll;
private boolean trackDragon;
private boolean trackGiant;
private boolean trackNPC;
private boolean trackUndead;
private boolean trackVampire;
private int maxTrack;
private EffectsBase effect;
public PowerAction powerAction;
public TrackPowerAction(PowerAction powerAction, HashMap<String, EffectsBase> effects) {
super(powerAction);
this.effectID = powerAction.effects.get(0).effect_id;
this.effect = effects.get(this.effectID);
this.powerAction = powerAction;
}
public String getEffectID() {
return this.effectID;
}
public boolean trackPlayer() {
return this.trackPlayer;
}
public boolean trackCorpse() {
return this.trackCorpse;
}
public boolean trackAll() {
return this.trackAll;
}
public boolean trackDragon() {
return this.trackDragon;
}
public boolean trackGiant() {
return this.trackGiant;
}
public boolean trackNPC() {
return this.trackNPC;
}
public boolean trackUndead() {
return this.trackUndead;
}
public boolean trackVampire() {
return this.trackVampire;
}
public int getMaxTrack() {
return this.maxTrack;
}
public EffectsBase getEffect() {
return this.effect;
}