mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Fixed Replicate.
This commit is contained in:
@@ -613,6 +613,7 @@ public class MagicStack extends MyObservable {
|
||||
// X and multi and replicate are not supported yet
|
||||
|
||||
final SpellAbility sa = sp;
|
||||
MagicStack.this.push(sa);
|
||||
final Ability ability = new Ability(sp.getSourceCard(), sp.getReplicateManaCost()) {
|
||||
@Override
|
||||
public void resolve() {
|
||||
@@ -625,7 +626,6 @@ public class MagicStack extends MyObservable {
|
||||
|
||||
@Override
|
||||
public void execute() {
|
||||
MagicStack.this.push(sa);
|
||||
for (int i = 0; i < sp.getSourceCard().getReplicateMagnitude(); i++) {
|
||||
AllZone.getCardFactory().copySpellontoStack(sp.getSourceCard(), sp.getSourceCard(), false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user