Convoked fix (#4777)

* AbilityUtils: fix Convoked for PutCounter

* Slime Against Humanity: ClearRemembered
This commit is contained in:
Hans Mackowiak
2024-03-03 10:25:06 +01:00
committed by GitHub
parent ae6c020065
commit e54ed7931e
2 changed files with 3 additions and 1 deletions

View File

@@ -965,6 +965,7 @@ public class AbilityUtils {
String defined = incR[0]; String defined = incR[0];
if (defined.equals("Self") || defined.equals("TargetedCard") || defined.equals("ThisTargetedCard") if (defined.equals("Self") || defined.equals("TargetedCard") || defined.equals("ThisTargetedCard")
|| defined.equals("Convoked")
|| defined.startsWith("Valid") || getPaidCards(sa, defined) != null || defined.equals("TargetedSource") || defined.startsWith("Valid") || getPaidCards(sa, defined) != null || defined.equals("TargetedSource")
|| defined.startsWith("CardUID_")) { || defined.startsWith("CardUID_")) {
// defined syntax indicates cards only, so don't include any players // defined syntax indicates cards only, so don't include any players

View File

@@ -2,7 +2,8 @@ Name:Slime Against Humanity
ManaCost:2 G ManaCost:2 G
Types:Sorcery Types:Sorcery
A:SP$ Token | TokenScript$ g_0_0_ooze_trample | RememberTokens$ True | SubAbility$ DBPutCounters | SpellDescription$ Create a 0/0 green Ooze creature token with trample. A:SP$ Token | TokenScript$ g_0_0_ooze_trample | RememberTokens$ True | SubAbility$ DBPutCounters | SpellDescription$ Create a 0/0 green Ooze creature token with trample.
SVar:DBPutCounters:DB$ PutCounter | Defined$ Remembered | CounterType$ P1P1 | CounterNum$ Count$ValidGraveyard,Exile Ooze.YouOwn,Card.YouOwn+namedSlime Against Humanity/Plus.2 | StackDescription$ SpellDescription | SpellDescription$ Put X +1/+1 counters on it, where X is two plus the total number of cards you own in exile and in your graveyard that are Oozes or are named Slime Against Humanity. SVar:DBPutCounters:DB$ PutCounter | Defined$ Remembered | CounterType$ P1P1 | CounterNum$ Count$ValidGraveyard,Exile Ooze.YouOwn,Card.YouOwn+namedSlime Against Humanity/Plus.2 | StackDescription$ SpellDescription | SubAbility$ DBCleanup | SpellDescription$ Put X +1/+1 counters on it, where X is two plus the total number of cards you own in exile and in your graveyard that are Oozes or are named Slime Against Humanity.
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
K:A deck can have any number of cards named CARDNAME. K:A deck can have any number of cards named CARDNAME.
DeckHas:Ability$Token & Type$Ooze DeckHas:Ability$Token & Type$Ooze
DeckHints:Type$Ooze DeckHints:Type$Ooze