mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-17 07:02:53 -04:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user