mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Some fixes (#8816)
This commit is contained in:
@@ -269,22 +269,22 @@ public class EffectEffect extends SpellAbilityEffect {
|
||||
}
|
||||
}
|
||||
|
||||
// Set Chosen Color(s)
|
||||
if (hostCard.hasChosenColor()) {
|
||||
eff.setChosenColors(Lists.newArrayList(hostCard.getChosenColors()));
|
||||
}
|
||||
|
||||
// Set Chosen Cards
|
||||
if (hostCard.hasChosenCard()) {
|
||||
eff.setChosenCards(hostCard.getChosenCards());
|
||||
}
|
||||
|
||||
// Set Chosen Player
|
||||
if (hostCard.hasChosenPlayer()) {
|
||||
eff.setChosenPlayer(hostCard.getChosenPlayer());
|
||||
}
|
||||
|
||||
// Set Chosen Type
|
||||
if (hostCard.getChosenDirection() != null) {
|
||||
eff.setChosenDirection(hostCard.getChosenDirection());
|
||||
}
|
||||
|
||||
if (hostCard.hasChosenType()) {
|
||||
eff.setChosenType(hostCard.getChosenType());
|
||||
}
|
||||
@@ -292,12 +292,10 @@ public class EffectEffect extends SpellAbilityEffect {
|
||||
eff.setChosenType2(hostCard.getChosenType2());
|
||||
}
|
||||
|
||||
// Set Chosen name
|
||||
if (hostCard.hasNamedCard()) {
|
||||
eff.setNamedCards(Lists.newArrayList(hostCard.getNamedCards()));
|
||||
}
|
||||
|
||||
// chosen number
|
||||
if (sa.hasParam("SetChosenNumber")) {
|
||||
eff.setChosenNumber(AbilityUtils.calculateAmount(hostCard, sa.getParam("SetChosenNumber"), sa));
|
||||
} else if (hostCard.hasChosenNumber()) {
|
||||
|
||||
@@ -2238,7 +2238,7 @@ public class CardFactoryUtil {
|
||||
final String actualRep = "Event$ Draw | ActiveZones$ Graveyard | ValidPlayer$ You | "
|
||||
+ "Secondary$ True | Optional$ True | CheckSVar$ "
|
||||
+ "DredgeCheckLib | SVarCompare$ GE" + dredgeAmount
|
||||
+ " | AICheckDredge$ True | Description$ CARDNAME - Dredge " + dredgeAmount;
|
||||
+ " | Description$ CARDNAME - Dredge " + dredgeAmount;
|
||||
|
||||
final String abString = "DB$ Mill | Defined$ You | NumCards$ " + dredgeAmount;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user