Reformat and clean up "client" package
This commit is contained in:
@@ -28,11 +28,11 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class Skill {
|
||||
private int id;
|
||||
private List<StatEffect> effects = new ArrayList<>();
|
||||
private final int id;
|
||||
private final List<StatEffect> effects = new ArrayList<>();
|
||||
private Element element;
|
||||
private int animationTime;
|
||||
private int job;
|
||||
private final int job;
|
||||
private boolean action;
|
||||
|
||||
public Skill(int id) {
|
||||
@@ -54,18 +54,18 @@ public class Skill {
|
||||
|
||||
public boolean isFourthJob() {
|
||||
if (job == 2212) {
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
if (id == 22170001 || id == 22171003 || id == 22171004 || id == 22181002 || id == 22181003) {
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
return job % 10 == 2;
|
||||
return job % 10 == 2;
|
||||
}
|
||||
|
||||
public void setElement(Element elem) {
|
||||
element = elem;
|
||||
}
|
||||
|
||||
|
||||
public Element getElement() {
|
||||
return element;
|
||||
}
|
||||
@@ -73,11 +73,11 @@ public class Skill {
|
||||
public int getAnimationTime() {
|
||||
return animationTime;
|
||||
}
|
||||
|
||||
|
||||
public void setAnimationTime(int time) {
|
||||
animationTime = time;
|
||||
}
|
||||
|
||||
|
||||
public void incAnimationTime(int time) {
|
||||
animationTime += time;
|
||||
}
|
||||
@@ -85,7 +85,7 @@ public class Skill {
|
||||
public boolean isBeginnerSkill() {
|
||||
return id % 10000000 < 10000;
|
||||
}
|
||||
|
||||
|
||||
public void setAction(boolean act) {
|
||||
action = act;
|
||||
}
|
||||
@@ -93,7 +93,7 @@ public class Skill {
|
||||
public boolean getAction() {
|
||||
return action;
|
||||
}
|
||||
|
||||
|
||||
public void addLevelEffect(StatEffect effect) {
|
||||
effects.add(effect);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user