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;
|
boolean altered = false;
|
||||||
|
|
||||||
switch (attr.trim()) {
|
switch (attr.trim()) {
|
||||||
|
case "Harnessed":
|
||||||
|
altered = gameCard.setHarnessed(activate);
|
||||||
|
break;
|
||||||
case "Plotted":
|
case "Plotted":
|
||||||
altered = gameCard.setPlotted(activate);
|
altered = gameCard.setPlotted(activate);
|
||||||
|
|
||||||
|
|||||||
@@ -203,6 +203,7 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars, ITr
|
|||||||
private boolean unearthed;
|
private boolean unearthed;
|
||||||
private boolean ringbearer;
|
private boolean ringbearer;
|
||||||
private boolean monstrous;
|
private boolean monstrous;
|
||||||
|
private boolean harnessed;
|
||||||
private boolean renowned;
|
private boolean renowned;
|
||||||
private boolean solved;
|
private boolean solved;
|
||||||
private boolean tributed;
|
private boolean tributed;
|
||||||
@@ -2969,6 +2970,9 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars, ITr
|
|||||||
if (monstrous) {
|
if (monstrous) {
|
||||||
sb.append("Monstrous\r\n");
|
sb.append("Monstrous\r\n");
|
||||||
}
|
}
|
||||||
|
if (harnessed) {
|
||||||
|
sb.append("Harnessed\r\n");
|
||||||
|
}
|
||||||
if (renowned) {
|
if (renowned) {
|
||||||
sb.append("Renowned\r\n");
|
sb.append("Renowned\r\n");
|
||||||
}
|
}
|
||||||
@@ -6693,6 +6697,14 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars, ITr
|
|||||||
setRingBearer(false);
|
setRingBearer(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public final boolean isHarnessed() {
|
||||||
|
return harnessed;
|
||||||
|
}
|
||||||
|
public final boolean setHarnessed(final boolean harnessed0) {
|
||||||
|
harnessed = harnessed0;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
public final boolean isMonstrous() {
|
public final boolean isMonstrous() {
|
||||||
return monstrous;
|
return monstrous;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1828,6 +1828,10 @@ public class CardProperty {
|
|||||||
if (card.getDevouredCards().isEmpty()) {
|
if (card.getDevouredCards().isEmpty()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
} else if (property.equals("harnessed")) {
|
||||||
|
if (!card.isHarnessed()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
} else if (property.equals("IsMonstrous")) {
|
} else if (property.equals("IsMonstrous")) {
|
||||||
if (!card.isMonstrous()) {
|
if (!card.isMonstrous()) {
|
||||||
return false;
|
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
|
Fortification
|
||||||
Gold
|
Gold
|
||||||
Incubator:Incubators
|
Incubator:Incubators
|
||||||
|
Infinity
|
||||||
Junk
|
Junk
|
||||||
Key:Keys
|
Key:Keys
|
||||||
Lander:Landers
|
Lander:Landers
|
||||||
Map
|
Map
|
||||||
Powerstone:Powerstones
|
Powerstone:Powerstones
|
||||||
Spacecraft:Spacecraft
|
Spacecraft:Spacecraft
|
||||||
|
Stone:Stones
|
||||||
Treasure:Treasures
|
Treasure:Treasures
|
||||||
Vehicle:Vehicles
|
Vehicle:Vehicles
|
||||||
[WalkerTypes]
|
[WalkerTypes]
|
||||||
|
|||||||
Reference in New Issue
Block a user