mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
fix proliferate not working on creatures
This commit is contained in:
@@ -30,7 +30,7 @@ public class CountersProliferateEffect extends SpellAbilityEffect {
|
|||||||
for(Entry<GameEntity, CounterType> ge: proliferateChoice.entrySet()) {
|
for(Entry<GameEntity, CounterType> ge: proliferateChoice.entrySet()) {
|
||||||
if( ge.getKey() instanceof Player )
|
if( ge.getKey() instanceof Player )
|
||||||
((Player) ge.getKey()).addPoisonCounters(1, sa.getSourceCard());
|
((Player) ge.getKey()).addPoisonCounters(1, sa.getSourceCard());
|
||||||
else if( ge instanceof Card)
|
else if( ge.getKey() instanceof Card)
|
||||||
((Card) ge.getKey()).addCounter(ge.getValue(), 1, true);
|
((Card) ge.getKey()).addCounter(ge.getValue(), 1, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user