Inspire Buff applies to Buff Recipient now

Don't know how to resolve these issues:
Stat's aren't updating in character sheet correctly
Time is not showing for buff.
This commit is contained in:
Waverunner
2013-11-21 18:54:01 -05:00
parent a6ecdcd225
commit 4d66b33344
4 changed files with 45 additions and 18 deletions
+12 -2
View File
@@ -7,6 +7,8 @@ public class BuffBuilder {
private int affectAmount;
private String requiredExperience;
private int entBonus;
public BuffBuilder() {
}
@@ -51,8 +53,16 @@ public class BuffBuilder {
this.requiredExperience = requiredExperience;
}
public int getTotalAffected(int bonusAmount) {
public int getTotalAffected() {
int totalAffected = getMaxTimesApplied() + getAffectAmount();
return totalAffected + bonusAmount;
return totalAffected + getEntBonus();
}
public int getEntBonus() {
return entBonus;
}
public void setEntBonus(int entBonus) {
this.entBonus = entBonus;
}
}