mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
*AFAICT fixed Delve-ing other players' cards.
This commit is contained in:
@@ -89,7 +89,7 @@ public class ManaCostAdjustment {
|
|||||||
|
|
||||||
if (sa.isSpell()) {
|
if (sa.isSpell()) {
|
||||||
if (sa.isDelve()) {
|
if (sa.isDelve()) {
|
||||||
final Player pc = originalCard.getController();
|
final Player pc = sa.getActivatingPlayer();
|
||||||
final CardCollection mutableGrave = new CardCollection(pc.getCardsIn(ZoneType.Graveyard));
|
final CardCollection mutableGrave = new CardCollection(pc.getCardsIn(ZoneType.Graveyard));
|
||||||
final CardCollectionView toExile = pc.getController().chooseCardsToDelve(cost.getUnpaidShards(ManaCostShard.COLORLESS), mutableGrave);
|
final CardCollectionView toExile = pc.getController().chooseCardsToDelve(cost.getUnpaidShards(ManaCostShard.COLORLESS), mutableGrave);
|
||||||
for (final Card c : toExile) {
|
for (final Card c : toExile) {
|
||||||
|
|||||||
Reference in New Issue
Block a user