Merge branch 'master' into newmaster

This commit is contained in:
Anthony Calosa
2022-05-08 05:58:42 +08:00
8 changed files with 31 additions and 9 deletions

View File

@@ -275,7 +275,12 @@ public class GameAction {
lastKnownInfo = CardUtil.getLKICopy(c);
}
// CR 707.12 casting of a card copy, don't copy it again
if (zoneTo.is(ZoneType.Stack) && c.isRealToken()) {
copied = c;
} else {
copied = CardFactory.copyCard(c, false);
}
if (zoneTo.is(ZoneType.Stack)) {
// when moving to stack, copy changed card information

View File

@@ -340,6 +340,10 @@ public class CountersPutEffect extends SpellAbilityEffect {
}
}
for (CounterType ct : counterTypes) {
if (sa.hasParam("AltChoiceForEach")) {
String typeChoices = sa.getParam("AltChoiceForEach") + "," + ct.toString();
ct = chooseTypeFromList(sa, typeChoices, obj, pc);
}
resolvePerType(sa, placer, ct, counterAmount, table, false);
}
} else {
@@ -659,7 +663,10 @@ public class CountersPutEffect extends SpellAbilityEffect {
List<CounterType> choices = Lists.newArrayList();
for (String s : list.split(",")) {
if (!s.equals("") && (!sa.hasParam("UniqueType") || obj.getCounters(CounterType.getType(s)) == 0)) {
choices.add(CounterType.getType(s));
CounterType type = CounterType.getType(s);
if (!choices.contains(type)) {
choices.add(type);
}
}
}
if (sa.hasParam("RandomType")) {

View File

@@ -0,0 +1,10 @@
Name:Bribe Taker
ManaCost:5 G
Types:Creature Rhino Warrior
PT:6/6
K:Trample
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerDescription$ When CARDNAME enters the battlefield, for each kind of counter on permanents you control, you may put your choice of a +1/+1 counter or a counter of that kind on CARDNAME.
SVar:TrigPutCounter:DB$ PutCounter | CounterTypes$ EachType_Permanent.YouCtrl | AltChoiceForEach$ P1P1
DeckNeeds:Ability$Counters
DeckHas:Ability$Counters
Oracle:Trample\nWhen Bribe Taker enters the battlefield, for each kind of counter on permanents you control, you may put your choice of a +1/+1 counter or a counter of that kind on Bribe Taker.

View File

@@ -5,5 +5,4 @@ PT:4/6
A:AB$ Pump | Cost$ 3 U | Defined$ Self | KW$ HIDDEN Unblockable | ReduceCost$ X | SpellDescription$ CARDNAME can't be blocked this turn.
SVar:X:Count$Compare Y GE5.3.0
SVar:Y:Count$ValidGraveyard Card.YouOwn$DifferentCMC
SVar:NonStackingEffect:True
Oracle:{3}{U}: Sewer Crocodile can't be blocked this turn. This ability costs {3} less to activate if there are five or more mana values among cards in your graveyard.

View File

@@ -521,6 +521,7 @@ ScryfallCode=SLD
587 R Spellskite @Thomas M. Baxa
588 R Sphere of Safety @Johannes Voss
589 R Arcane Signet @Dan Frazier
590 R Lurking Crocodile @Crocodile Jackson
591 R Crash Through @Tyler Walpole
593 R Persistent Petitioners @Brandi Milne
596 R Persistent Petitioners @Crom