NCC: Bess, Soul Nourisher and support (#327)

This commit is contained in:
Northmoc
2022-05-12 08:55:30 -04:00
committed by GitHub
parent a3b6d34887
commit c55afd50de
2 changed files with 22 additions and 1 deletions

View File

@@ -1422,7 +1422,8 @@ public class CardProperty {
return false;
}
} else if (property.startsWith("power") || property.startsWith("toughness") || property.startsWith("cmc")
|| property.startsWith("totalPT") || property.startsWith("numColors")) {
|| property.startsWith("totalPT") || property.startsWith("numColors")
|| property.startsWith("basePower") || property.startsWith("baseToughness")) {
int x;
int y = 0;
String rhs = "";
@@ -1430,9 +1431,15 @@ public class CardProperty {
if (property.startsWith("power")) {
rhs = property.substring(7);
y = card.getNetPower();
} else if (property.startsWith("basePower")) {
rhs = property.substring(11);
y = card.getCurrentPower();
} else if (property.startsWith("toughness")) {
rhs = property.substring(11);
y = card.getNetToughness();
} else if (property.startsWith("baseToughness")) {
rhs= property.substring(15);
y = card.getCurrentToughness();
} else if (property.startsWith("cmc")) {
rhs = property.substring(5);
y = card.getCMC();

View File

@@ -0,0 +1,14 @@
Name:Bess, Soul Nourisher
ManaCost:1 G W
Types:Legendary Creature Human Citizen
PT:1/1
T:Mode$ ChangesZoneAll | ValidCards$ Creature.basePowerEQ1+baseToughnessEQ1+Other | Destination$ Battlefield | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever one or more other creatures with base power and toughness 1/1 enter the battlefield under your control, put a +1/+1 counter on CARDNAME.
SVar:TrigPutCounter:DB$ PutCounter | CounterType$ P1P1
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPumpAll | TriggerDescription$ Whenever NICKNAME attacks, each other creature you control with base power and toughness 1/1 gets +X/+X until end of turn, where X is the number of +1/+1 counters on NICKNAME.
SVar:TrigPumpAll:DB$ PumpAll | ValidCards$ Creature.basePowerEQ1+baseToughnessEQ1+Other | NumAtt$ +X | NumDef$ +X
SVar:X:Count$CardCounters.P1P1
DeckHas:Ability$Counters
DeckHints:Type$Citizen
SVar:HasAttackEffect:TRUE
SVar:BuffedBy:Creature.powerEQ1,Creature.toughnessEQ1
Oracle:Whenever one or more other creatures with base power and toughness 1/1 enter the battlefield under your control, put a +1/+1 counter on Bess, Soul Nourisher.\nWhenever Bess attacks, each other creature you control with base power and toughness 1/1 gets +X/+X until end of turn, where X is the number of +1/+1 counters on Bess.