mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
The Soul Stone and support (#8579)
This commit is contained in:
@@ -46,6 +46,9 @@ public class AlterAttributeEffect extends SpellAbilityEffect {
|
||||
boolean altered = false;
|
||||
|
||||
switch (attr.trim()) {
|
||||
case "Harnessed":
|
||||
altered = gameCard.setHarnessed(activate);
|
||||
break;
|
||||
case "Plotted":
|
||||
altered = gameCard.setPlotted(activate);
|
||||
|
||||
|
||||
@@ -203,6 +203,7 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars, ITr
|
||||
private boolean unearthed;
|
||||
private boolean ringbearer;
|
||||
private boolean monstrous;
|
||||
private boolean harnessed;
|
||||
private boolean renowned;
|
||||
private boolean solved;
|
||||
private boolean tributed;
|
||||
@@ -2969,6 +2970,9 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars, ITr
|
||||
if (monstrous) {
|
||||
sb.append("Monstrous\r\n");
|
||||
}
|
||||
if (harnessed) {
|
||||
sb.append("Harnessed\r\n");
|
||||
}
|
||||
if (renowned) {
|
||||
sb.append("Renowned\r\n");
|
||||
}
|
||||
@@ -6693,6 +6697,14 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars, ITr
|
||||
setRingBearer(false);
|
||||
}
|
||||
|
||||
public final boolean isHarnessed() {
|
||||
return harnessed;
|
||||
}
|
||||
public final boolean setHarnessed(final boolean harnessed0) {
|
||||
harnessed = harnessed0;
|
||||
return true;
|
||||
}
|
||||
|
||||
public final boolean isMonstrous() {
|
||||
return monstrous;
|
||||
}
|
||||
|
||||
@@ -1828,6 +1828,10 @@ public class CardProperty {
|
||||
if (card.getDevouredCards().isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.equals("harnessed")) {
|
||||
if (!card.isHarnessed()) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.equals("IsMonstrous")) {
|
||||
if (!card.isMonstrous()) {
|
||||
return false;
|
||||
|
||||
9
forge-gui/res/cardsfolder/upcoming/the_soul_stone.txt
Normal file
9
forge-gui/res/cardsfolder/upcoming/the_soul_stone.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:The Soul Stone
|
||||
ManaCost:1 B
|
||||
Types:Legendary Artifact Infinity Stone
|
||||
K:Indestructible
|
||||
A:AB$ AlterAttribute | Cost$ 6 B Exile<1/Creature> | Defined$ Self | Attributes$ Harnessed | StackDescription$ SpellDescription | SpellDescription$ Harness CARDNAME. (Once harnessed, its ∞ ability is active.)
|
||||
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+harnessed | TriggerZones$ Battlefield | Execute$ TrigReturn | TriggerDescription$ ∞ — At the beginning of your upkeep, return target creature card from your graveyard to the battlefield.
|
||||
SVar:TrigReturn:DB$ Changezone | ValidTgts$ Creature.YouOwn | Origin$ Graveyard | Destination$ Battlefield
|
||||
DeckHints:Ability$Graveyard
|
||||
Oracle:Indestructible\n{T}: Add {B}.\n{6}{B}, {T}, Exile a creature you control: Harness The Soul Stone. (Once harnessed, its ∞ ability is active.)\n∞ — At the beginning of your upkeep, return target creature card from your graveyard to the battlefield.
|
||||
@@ -368,12 +368,14 @@ Food:Foods
|
||||
Fortification
|
||||
Gold
|
||||
Incubator:Incubators
|
||||
Infinity
|
||||
Junk
|
||||
Key:Keys
|
||||
Lander:Landers
|
||||
Map
|
||||
Powerstone:Powerstones
|
||||
Spacecraft:Spacecraft
|
||||
Stone:Stones
|
||||
Treasure:Treasures
|
||||
Vehicle:Vehicles
|
||||
[WalkerTypes]
|
||||
|
||||
Reference in New Issue
Block a user