mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
Fractured powerstone (#8805)
* Implement Fractured Powerstone * Rebase fix FracturedPowerstone Co-authored-by: teskogi <tojile7269@yeafam.com>
This commit is contained in:
parent
b279d4b318
commit
1538714555
4 changed files with 149 additions and 0 deletions
|
|
@ -51,5 +51,12 @@ public class PlanarRollWatcher extends Watcher {
|
|||
super.reset();
|
||||
numberTimesPlanarDieRolled.clear();
|
||||
}
|
||||
|
||||
public void removePlanarDieRoll(UUID playerId) {
|
||||
Integer amount = numberTimesPlanarDieRolled.get(playerId);
|
||||
if (amount != null){
|
||||
numberTimesPlanarDieRolled.put(playerId, amount-1);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue