|
|
|
@ -764,13 +764,6 @@ public class Item extends AbstractWorldObject {
@@ -764,13 +764,6 @@ public class Item extends AbstractWorldObject {
|
|
|
|
|
this.bonuses.put(key, amount); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void multBonus(AbstractEffectModifier key, float amount) { |
|
|
|
|
if (this.bonuses.containsKey(key)) |
|
|
|
|
this.bonuses.put(key, (this.bonuses.get(key) * amount)); |
|
|
|
|
else |
|
|
|
|
this.bonuses.put(key, amount); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public synchronized void decrementChargesRemaining() { |
|
|
|
|
this.chargesRemaining -= 1; |
|
|
|
|
if (this.chargesRemaining < 0) |
|
|
|
|