Skip to content

Commit 586ba31

Browse files
tool4EvErtool4EvEr
authored andcommitted
Clean + fix combo
1 parent 6d0bf19 commit 586ba31

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed

forge-game/src/main/java/forge/game/CardTraitBase.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -548,11 +548,6 @@ else if ("None".equalsIgnoreCase(params.get("Revolt"))) {
548548
}
549549
}
550550

551-
if (params.containsKey("ActivateNoLoyaltyAbilitiesCondition")) {
552-
final Player active = game.getPhaseHandler().getPlayerTurn();
553-
return !active.getActivateLoyaltyAbilityThisTurn(this);
554-
}
555-
556551
if (params.containsKey("ClassLevel")) {
557552
final int level = getHostCard().getClassLevel();
558553
final int levelMin = Integer.parseInt(params.get("ClassLevel"));

forge-game/src/main/java/forge/game/player/Player.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1890,10 +1890,6 @@ public final void setBeenDealtCombatDamageSinceLastTurn(final boolean b) {
18901890
beenDealtCombatDamageSinceLastTurn = b;
18911891
}
18921892

1893-
public final boolean getActivateLoyaltyAbilityThisTurn(CardTraitBase ctb) {
1894-
return !CardUtil.getThisTurnActivated("Activated.Loyalty+Planeswalker+YouCtrl", ctb.getHostCard(), ctb, this).isEmpty();
1895-
}
1896-
18971893
public final List<Card> getCreaturesAttackedThisTurn() {
18981894
List<Card> result = Lists.newArrayList(Iterables.concat(attackedThisTurn.values()));
18991895
return result;

forge-gui/res/cardsfolder/r/rose_cutthroat_raider.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ K:First Strike
66
T:Mode$ Phase | Phase$ EndCombat | ValidPlayer$ You | CheckSVar$ RaidTest | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Raid — At end of combat on your turn, if you attacked this turn, create a Junk token for each opponent you attacked. (It's an artifact with "{T}, Sacrifice this artifact: Exile the top card of your library. You may play that card this turn. Activate only as a sorcery.")
77
SVar:TrigToken:DB$ Token | TokenAmount$ X | TokenScript$ c_a_junk_sac_exileplay | TokenOwner$ You
88
SVar:RaidTest:Count$AttackersDeclared
9-
SVar:X:PlayerCountRegisteredOpponents$HasPropertyBeenAttackedThisCombat
9+
SVar:X:PlayerCountPropertyYou$OpponentsAttackedThisTurn
1010
T:Mode$ Sacrificed | ValidCard$ Junk.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigMana | TriggerDescription$ Whenever you sacrifice a Junk, add {R}.
1111
SVar:TrigMana:DB$ Mana | Produced$ R | Amount$ 1
1212
DeckHas:Ability$Sacrifice|Token & Type$Junk|Artifact

forge-gui/res/cardsfolder/t/the_chain_veil.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
Name:The Chain Veil
22
ManaCost:4
33
Types:Legendary Artifact
4-
T:Mode$ Phase | Phase$ End of Turn | ActivateNoLoyaltyAbilitiesCondition$ True | ValidPlayer$ You | Execute$ TrigLoseLife | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your end step, if you didn't activate a loyalty ability of a planeswalker this turn, you lose 2 life.
4+
T:Mode$ Phase | Phase$ End of Turn | CheckSVar$ X | SVarCompare$ EQ0 | ValidPlayer$ You | Execute$ TrigLoseLife | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your end step, if you didn't activate a loyalty ability of a planeswalker this turn, you lose 2 life.
55
SVar:TrigLoseLife:DB$ LoseLife | Defined$ You | LifeAmount$ 2
66
A:AB$ Effect | Cost$ 4 T | StaticAbilities$ LoyaltyAbs | AILogic$ ChainVeil | SpellDescription$ For each planeswalker you control, you may activate one of its loyalty abilities once this turn as though none of its loyalty abilities had been activated this turn.
77
SVar:LoyaltyAbs:Mode$ NumLoyaltyAct | ValidCard$ Planeswalker.YouCtrl | Additional$ 1 | Description$ For each planeswalker you control, you may activate one of its loyalty abilities once this turn as though none of its loyalty abilities had been activated this turn.
8+
SVar:X:Count$ThisTurnActivated_Activated.Loyalty+Planeswalker+YouCtrl
89
SVar:NeedsToPlay:Planeswalker.YouCtrl
910
AI:RemoveDeck:All
1011
AI:RemoveDeck:Random

0 commit comments

Comments
 (0)