mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Added Blood Sun
This commit is contained in:
@@ -125,6 +125,7 @@ public final class StaticAbilityContinuous {
|
|||||||
String[] addStatics = null;
|
String[] addStatics = null;
|
||||||
List<SpellAbility> addFullAbs = null;
|
List<SpellAbility> addFullAbs = null;
|
||||||
boolean removeAllAbilities = false;
|
boolean removeAllAbilities = false;
|
||||||
|
boolean removeNonMana = false;
|
||||||
boolean removeSuperTypes = false;
|
boolean removeSuperTypes = false;
|
||||||
boolean removeCardTypes = false;
|
boolean removeCardTypes = false;
|
||||||
boolean removeSubTypes = false;
|
boolean removeSubTypes = false;
|
||||||
@@ -245,6 +246,9 @@ public final class StaticAbilityContinuous {
|
|||||||
|
|
||||||
if (layer == StaticAbilityLayer.ABILITIES1 && params.containsKey("RemoveAllAbilities")) {
|
if (layer == StaticAbilityLayer.ABILITIES1 && params.containsKey("RemoveAllAbilities")) {
|
||||||
removeAllAbilities = true;
|
removeAllAbilities = true;
|
||||||
|
if (params.containsKey("ExceptManaAbilities")) {
|
||||||
|
removeNonMana = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (layer == StaticAbilityLayer.ABILITIES2 && params.containsKey("AddAbility")) {
|
if (layer == StaticAbilityLayer.ABILITIES2 && params.containsKey("AddAbility")) {
|
||||||
@@ -726,9 +730,15 @@ public final class StaticAbilityContinuous {
|
|||||||
|
|
||||||
// remove activated and static abilities
|
// remove activated and static abilities
|
||||||
if (removeAllAbilities) {
|
if (removeAllAbilities) {
|
||||||
for (final SpellAbility ab : affectedCard.getSpellAbilities()) {
|
if (removeNonMana) { // Blood Sun
|
||||||
ab.setTemporarilySuppressed(true);
|
for (final SpellAbility mana : affectedCard.getNonManaAbilities()) {
|
||||||
}
|
mana.setTemporarilySuppressed(true);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
for (final SpellAbility ab : affectedCard.getSpellAbilities()) {
|
||||||
|
ab.setTemporarilySuppressed(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
for (final StaticAbility stA : affectedCard.getStaticAbilities()) {
|
for (final StaticAbility stA : affectedCard.getStaticAbilities()) {
|
||||||
stA.setTemporarilySuppressed(true);
|
stA.setTemporarilySuppressed(true);
|
||||||
}
|
}
|
||||||
|
|||||||
10
forge-gui/res/cardsfolder/upcoming/blood_sun.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/blood_sun.txt
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Name:Blood Sun
|
||||||
|
ManaCost:2 R
|
||||||
|
Types:Enchantment
|
||||||
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card.
|
||||||
|
SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1
|
||||||
|
S:Mode$ Continuous | Affected$ Land | RemoveAllAbilities$ True | ExceptManaAbilities$ True | Description$ All lands lose all abilities except mana abilities.
|
||||||
|
SVar:NonStackingEffect:True
|
||||||
|
SVar:RemRandomDeck:True
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/blood_sun.jpg
|
||||||
|
Oracle:When Blood Sun enters the battlefield, draw a card.\nAll lands lose all abilities except mana abilities.
|
||||||
Reference in New Issue
Block a user