mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Clean up (#4295)
This commit is contained in:
@@ -1290,7 +1290,6 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars {
|
||||
craft.setExiledBy(cause.getActivatingPlayer());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public final List<Integer> getStoredRolls() {
|
||||
|
||||
@@ -244,7 +244,7 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
|
||||
}
|
||||
|
||||
if (sp.isManaAbility()) { // Mana Abilities go straight through
|
||||
if (!sp.isCopied()) {
|
||||
if (!sp.isCopied() && !sp.isTrigger()) {
|
||||
// Copied abilities aren't activated, so they shouldn't change these values
|
||||
source.addAbilityActivated(sp);
|
||||
}
|
||||
@@ -320,7 +320,7 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
|
||||
return;
|
||||
}
|
||||
|
||||
if (sp.isAbility() && !sp.isCopied()) {
|
||||
if (sp.isAbility() && !sp.isCopied() && !sp.isTrigger()) {
|
||||
source.addAbilityActivated(sp);
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ Name:River Herald Guide
|
||||
ManaCost:2 G
|
||||
Types:Creature Merfolk Scout
|
||||
PT:3/1
|
||||
K:Viligance
|
||||
K:Vigilance
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExplore | TriggerDescription$ When CARDNAME enters the battlefield, it explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard.)
|
||||
SVar:TrigExplore:DB$ Explore
|
||||
DeckHas:Ability$Counters
|
||||
|
||||
@@ -30,8 +30,7 @@ public interface IGameController {
|
||||
|
||||
void selectPlayer(PlayerView playerView, ITriggerEvent triggerEvent);
|
||||
|
||||
boolean selectCard(CardView cardView,
|
||||
List<CardView> otherCardViewsToSelect, ITriggerEvent triggerEvent);
|
||||
boolean selectCard(CardView cardView, List<CardView> otherCardViewsToSelect, ITriggerEvent triggerEvent);
|
||||
|
||||
void selectAbility(SpellAbilityView sa);
|
||||
|
||||
|
||||
@@ -413,7 +413,6 @@ public class HumanCostDecision extends CostDecisionMakerBase {
|
||||
final CardCollection exiled = new CardCollection();
|
||||
final String required = sharedType ? " (must share a card type)" : "";
|
||||
|
||||
|
||||
final List<Card> chosen = controller.chooseCardsForZoneChange(ZoneType.Exile, origin, ability, typeList,
|
||||
mandatory ? nNeeded : 0, nNeeded, null, cost.toString(nNeeded) + required,
|
||||
null);
|
||||
|
||||
Reference in New Issue
Block a user