mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fixed totalMana in ManaPool.
This commit is contained in:
@@ -293,7 +293,11 @@ public class ManaPool {
|
|||||||
* @return a int.
|
* @return a int.
|
||||||
*/
|
*/
|
||||||
public final int totalMana() {
|
public final int totalMana() {
|
||||||
return this.floatingMana.size();
|
int total = 0;
|
||||||
|
for (byte i : MagicColor.WUBRG) {
|
||||||
|
total += this.getAmountOfColor(i);
|
||||||
|
}
|
||||||
|
return total;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user