Added buff stacking support

This commit is contained in:
Mads Boddum
2016-10-22 18:30:22 +02:00
parent 8774e24b5f
commit 1538b904fb
3 changed files with 59 additions and 47 deletions
@@ -612,6 +612,10 @@ public class CreatureObject extends TangibleObject {
creo6.adjustBuffStackCount(buffCrc, adjustment, this);
}
public void setBuffDuration(CRC buffCrc, int playTime, int duration) {
creo6.setBuffDuration(buffCrc, playTime, duration, this);
}
public Map<CRC, Buff> getBuffs() {
return new HashMap<>(creo6.getBuffs());
}