mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-16 06:13:45 -04:00
71 lines
1.4 KiB
Java
71 lines
1.4 KiB
Java
package resources.common;
|
|
|
|
public class BuffBuilder {
|
|
private String statName;
|
|
private String statAffects;
|
|
private int maxTimesApplied;
|
|
private int affectAmount;
|
|
private String requiredExperience;
|
|
|
|
private int entBonus;
|
|
|
|
public BuffBuilder() {
|
|
|
|
}
|
|
|
|
public String getStatName() {
|
|
return statName;
|
|
}
|
|
|
|
public void setStatName(String statName) {
|
|
this.statName = statName;
|
|
}
|
|
|
|
public String getStatAffects() {
|
|
return statAffects;
|
|
}
|
|
|
|
public void setStatAffects(String statAffects) {
|
|
this.statAffects = statAffects;
|
|
}
|
|
|
|
public int getMaxTimesApplied() {
|
|
return maxTimesApplied;
|
|
}
|
|
|
|
public void setMaxTimesApplied(int maxTimesApplied) {
|
|
this.maxTimesApplied = maxTimesApplied;
|
|
}
|
|
|
|
public int getAffectAmount() {
|
|
return affectAmount;
|
|
}
|
|
|
|
public void setAffectAmount(int affectAmount) {
|
|
this.affectAmount = affectAmount;
|
|
}
|
|
|
|
public String getRequiredExperience() {
|
|
return requiredExperience;
|
|
}
|
|
|
|
public void setRequiredExperience(String requiredExperience) {
|
|
this.requiredExperience = requiredExperience;
|
|
}
|
|
|
|
public int getTotalAffected() {
|
|
// 10 * 10 = 100
|
|
int totalAffected = getMaxTimesApplied() * getAffectAmount();
|
|
Console.println("Total Affected: " + totalAffected + getEntBonus());
|
|
return totalAffected + getEntBonus();
|
|
}
|
|
|
|
public int getEntBonus() {
|
|
return entBonus;
|
|
}
|
|
|
|
public void setEntBonus(int entBonus) {
|
|
this.entBonus = entBonus;
|
|
}
|
|
}
|