mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-17 07:02:53 -04:00
BuffRecipient window now updates properly
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
package resources.common;
|
||||
|
||||
public class BuffBuilder {
|
||||
private String statName;
|
||||
private String statAffects;
|
||||
private int maxTimesApplied;
|
||||
private int affectAmount;
|
||||
private String requiredExperience;
|
||||
|
||||
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(int bonusAmount) {
|
||||
int totalAffected = getMaxTimesApplied() + getAffectAmount();
|
||||
return totalAffected + bonusAmount;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user