Added ent skillmods, fixed attribute points in buff workshop

This commit is contained in:
Waverunner
2013-11-25 17:00:32 -05:00
parent bb085477c4
commit 4f94664584
9 changed files with 52 additions and 10 deletions
@@ -64,9 +64,10 @@ public class BuffBuilderChangeMessage extends ObjControllerObject {
item.setInvested(investedPoints);
int maxAmount = buffer.getInt();
item.setAmount(maxAmount);
item.setBonusAmount(maxAmount);
statBuffs.add(item);
System.out.println("Added buff item with " + investedPoints + " invested points " + " which has a bonus amount of " + maxAmount);
}
}
@@ -95,7 +96,7 @@ public class BuffBuilderChangeMessage extends ObjControllerObject {
for (BuffItem item : statBuffs) {
result.put(getAsciiString(item.getSkillName()));
result.putInt(item.getInvested());
result.putInt(item.getAmount());
result.putInt(item.getBonusAmount());
}
}