mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Update SpellAbility.java
This commit is contained in:
@@ -2699,7 +2699,9 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
|
|||||||
}
|
}
|
||||||
public void setMaxWaterbend(Cost cost) {
|
public void setMaxWaterbend(Cost cost) {
|
||||||
if (cost == null || cost.getMaxWaterbend() == null) {
|
if (cost == null || cost.getMaxWaterbend() == null) {
|
||||||
maxWaterbend = 0;
|
if (maxWaterbend != null) {
|
||||||
|
maxWaterbend = 0;
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
maxWaterbend = AbilityUtils.calculateAmount(getHostCard(), cost.getMaxWaterbend(), this);
|
maxWaterbend = AbilityUtils.calculateAmount(getHostCard(), cost.getMaxWaterbend(), this);
|
||||||
|
|||||||
Reference in New Issue
Block a user