mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Merge branch 'fury' into 'master'
Fix Fury Closes #1995 See merge request core-developers/forge!5662
This commit is contained in:
@@ -51,8 +51,8 @@ public class DigUntilAi extends SpellAbilityAi {
|
|||||||
// until opponent's end of turn phase!
|
// until opponent's end of turn phase!
|
||||||
// But we still want more (and want to fill grave) if nothing better to do then
|
// But we still want more (and want to fill grave) if nothing better to do then
|
||||||
// This is important for Replenish/Living Death type decks
|
// This is important for Replenish/Living Death type decks
|
||||||
if (!((ai.getGame().getPhaseHandler().is(PhaseType.END_OF_TURN))
|
if (!ai.getGame().getPhaseHandler().is(PhaseType.END_OF_TURN)
|
||||||
&& (!ai.getGame().getPhaseHandler().isPlayerTurn(ai)))) {
|
&& !ai.getGame().getPhaseHandler().isPlayerTurn(ai)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -75,7 +75,7 @@ public class DigUntilAi extends SpellAbilityAi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final String num = sa.getParam("Amount");
|
final String num = sa.getParam("Amount");
|
||||||
if ((num != null) && num.equals("X") && sa.getSVar(num).equals("Count$xPaid")) {
|
if (num != null && num.equals("X") && sa.getSVar(num).equals("Count$xPaid")) {
|
||||||
// Set PayX here to maximum value.
|
// Set PayX here to maximum value.
|
||||||
SpellAbility root = sa.getRootAbility();
|
SpellAbility root = sa.getRootAbility();
|
||||||
if (root.getXManaCostPaid() == null) {
|
if (root.getXManaCostPaid() == null) {
|
||||||
|
|||||||
@@ -169,7 +169,6 @@ public class StaticData {
|
|||||||
return this.customEditions;
|
return this.customEditions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private List<CardEdition> sortedEditions;
|
private List<CardEdition> sortedEditions;
|
||||||
public final List<CardEdition> getSortedEditions() {
|
public final List<CardEdition> getSortedEditions() {
|
||||||
if (sortedEditions == null) {
|
if (sortedEditions == null) {
|
||||||
@@ -231,7 +230,6 @@ public class StaticData {
|
|||||||
public void attemptToLoadCard(String cardName){
|
public void attemptToLoadCard(String cardName){
|
||||||
this.attemptToLoadCard(cardName, null);
|
this.attemptToLoadCard(cardName, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void attemptToLoadCard(String cardName, String setCode) {
|
public void attemptToLoadCard(String cardName, String setCode) {
|
||||||
CardRules rules = cardReader.attemptToLoadCard(cardName);
|
CardRules rules = cardReader.attemptToLoadCard(cardName);
|
||||||
CardRules customRules = null;
|
CardRules customRules = null;
|
||||||
@@ -450,10 +448,6 @@ public class StaticData {
|
|||||||
|
|
||||||
public Predicate<PaperCard> getBrawlPredicate() { return brawlPredicate; }
|
public Predicate<PaperCard> getBrawlPredicate() { return brawlPredicate; }
|
||||||
|
|
||||||
public void setFilteredHandsEnabled(boolean filteredHandsEnabled){
|
|
||||||
this.filteredHandsEnabled = filteredHandsEnabled;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get an alternative card print for the given card wrt. the input setReleaseDate.
|
* Get an alternative card print for the given card wrt. the input setReleaseDate.
|
||||||
* The reference release date will be used to retrieve the alternative art, according
|
* The reference release date will be used to retrieve the alternative art, according
|
||||||
@@ -537,7 +531,6 @@ public class StaticData {
|
|||||||
public PaperCard getAlternativeCardPrint(PaperCard card, Date setReleaseDate, boolean isCardArtPreferenceLatestArt,
|
public PaperCard getAlternativeCardPrint(PaperCard card, Date setReleaseDate, boolean isCardArtPreferenceLatestArt,
|
||||||
boolean cardArtPreferenceHasFilter,
|
boolean cardArtPreferenceHasFilter,
|
||||||
boolean preferCandidatesFromExpansionSets, boolean preferModernFrame) {
|
boolean preferCandidatesFromExpansionSets, boolean preferModernFrame) {
|
||||||
|
|
||||||
PaperCard altCard = this.getAlternativeCardPrint(card, setReleaseDate, isCardArtPreferenceLatestArt,
|
PaperCard altCard = this.getAlternativeCardPrint(card, setReleaseDate, isCardArtPreferenceLatestArt,
|
||||||
cardArtPreferenceHasFilter);
|
cardArtPreferenceHasFilter);
|
||||||
if (altCard == null)
|
if (altCard == null)
|
||||||
@@ -690,6 +683,9 @@ public class StaticData {
|
|||||||
public boolean getFilteredHandsEnabled() {
|
public boolean getFilteredHandsEnabled() {
|
||||||
return filteredHandsEnabled;
|
return filteredHandsEnabled;
|
||||||
}
|
}
|
||||||
|
public void setFilteredHandsEnabled(boolean filteredHandsEnabled) {
|
||||||
|
this.filteredHandsEnabled = filteredHandsEnabled;
|
||||||
|
}
|
||||||
|
|
||||||
public void setMulliganRule(MulliganDefs.MulliganRule rule) {
|
public void setMulliganRule(MulliganDefs.MulliganRule rule) {
|
||||||
mulliganRule = rule;
|
mulliganRule = rule;
|
||||||
@@ -751,7 +747,6 @@ public class StaticData {
|
|||||||
this.customCards.setCardArtPreference(artPreference);
|
this.customCards.setCardArtPreference(artPreference);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
public boolean isEnabledCardArtSmartSelection() {
|
public boolean isEnabledCardArtSmartSelection() {
|
||||||
return this.enableSmartCardArtSelection;
|
return this.enableSmartCardArtSelection;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ PT:3/3
|
|||||||
K:Double Strike
|
K:Double Strike
|
||||||
K:Evoke:ExileFromHand<1/Card.Red+Other/red card>
|
K:Evoke:ExileFromHand<1/Card.Red+Other/red card>
|
||||||
T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals 4 damage divided as you choose among any number of target creatures and/or planeswalkers.
|
T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals 4 damage divided as you choose among any number of target creatures and/or planeswalkers.
|
||||||
SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker to distribute damage to | NumDmg$ 4 | TargetMin$ 1 | TargetMax$ 4 | DividedAsYouChoose$ 4
|
SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker to distribute damage to | NumDmg$ 4 | TargetMin$ 0 | TargetMax$ 4 | DividedAsYouChoose$ 4
|
||||||
Oracle:Double strike\nWhen Fury enters the battlefield, it deals 4 damage divided as you choose among any number of target creatures and/or planeswalkers.\nEvoke—Exile a red card from your hand.
|
Oracle:Double strike\nWhen Fury enters the battlefield, it deals 4 damage divided as you choose among any number of target creatures and/or planeswalkers.\nEvoke—Exile a red card from your hand.
|
||||||
|
|||||||
Reference in New Issue
Block a user