mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Added +1+0 counters, and Lightning Serpent with it.
This commit is contained in:
@@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene
|
|||||||
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
|
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
|
||||||
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
||||||
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
|
||||||
|
lightning_serpent.jpg http://www.wizards.com/global/images/magic/general/lightning_serpent.jpg
|
||||||
ivy_elemental.jpg http://www.wizards.com/global/images/magic/general/ivy_elemental.jpg
|
ivy_elemental.jpg http://www.wizards.com/global/images/magic/general/ivy_elemental.jpg
|
||||||
krakilin.jpg http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=4769&type=card
|
krakilin.jpg http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=4769&type=card
|
||||||
maga_traitor_to_mortals.jpg http://www.wizards.com/global/images/magic/general/maga_traitor_to_mortals.jpg
|
maga_traitor_to_mortals.jpg http://www.wizards.com/global/images/magic/general/maga_traitor_to_mortals.jpg
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
Lightning Serpent
|
||||||
|
X R
|
||||||
|
Creature Elemental Serpent
|
||||||
|
Lightning Serpent enters the battlefield with X +1/+0 counters on it.
|
||||||
|
2/1
|
||||||
|
Trample
|
||||||
|
Haste
|
||||||
|
At the beginning of the end step, sacrifice CARDNAME.
|
||||||
|
|
||||||
Ivy Elemental
|
Ivy Elemental
|
||||||
X G
|
X G
|
||||||
Creature Elemental
|
Creature Elemental
|
||||||
|
|||||||
@@ -1233,7 +1233,7 @@ public class Card extends MyObservable {
|
|||||||
public int getNetAttack() {
|
public int getNetAttack() {
|
||||||
int total = getBaseAttack();
|
int total = getBaseAttack();
|
||||||
total += getTempAttackBoost() + getSemiPermanentAttackBoost() + getOtherAttackBoost()
|
total += getTempAttackBoost() + getSemiPermanentAttackBoost() + getOtherAttackBoost()
|
||||||
+ getCounters(Counters.P1P1) - getCounters(Counters.M1M1);
|
+ getCounters(Counters.P1P1) + getCounters(Counters.P1P0) - getCounters(Counters.M1M1);
|
||||||
return total;
|
return total;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14701,7 +14701,7 @@ public class CardFactory_Creatures {
|
|||||||
|
|
||||||
//*************** START *********** START **************************
|
//*************** START *********** START **************************
|
||||||
else if(cardName.equals("Shifting Wall") || cardName.equals("Maga, Traitor to Mortals")
|
else if(cardName.equals("Shifting Wall") || cardName.equals("Maga, Traitor to Mortals")
|
||||||
|| cardName.equals("Krakilin") || cardName.equals("Ivy Elemental")) {
|
|| cardName.equals("Krakilin") || cardName.equals("Ivy Elemental") || cardName.equals("Lightning Serpent")) {
|
||||||
|
|
||||||
if(!card.getName().equals("Krakilin")) {
|
if(!card.getName().equals("Krakilin")) {
|
||||||
SpellAbility spell = new Spell_Permanent(card) {
|
SpellAbility spell = new Spell_Permanent(card) {
|
||||||
@@ -14731,7 +14731,8 @@ public class CardFactory_Creatures {
|
|||||||
|
|
||||||
public void execute() {
|
public void execute() {
|
||||||
int XCounters = card.getXManaCostPaid();
|
int XCounters = card.getXManaCostPaid();
|
||||||
card.addCounter(Counters.P1P1, XCounters);
|
if(card.getName().equals("Lightning Serpent")) card.addCounter(Counters.P1P0, XCounters);
|
||||||
|
else card.addCounter(Counters.P1P1, XCounters);
|
||||||
if(card.getName().equals("Maga, Traitor to Mortals")) {
|
if(card.getName().equals("Maga, Traitor to Mortals")) {
|
||||||
ability.setStackDescription(ability.getTargetPlayer() + " - loses life equal to the number of +1/+1 counters on " + card.getName());
|
ability.setStackDescription(ability.getTargetPlayer() + " - loses life equal to the number of +1/+1 counters on " + card.getName());
|
||||||
if(card.getController() == Constant.Player.Human) AllZone.InputControl.setInput(CardFactoryUtil.input_targetPlayer(ability));
|
if(card.getController() == Constant.Player.Human) AllZone.InputControl.setInput(CardFactoryUtil.input_targetPlayer(ability));
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ public enum Counters {
|
|||||||
P0M1("+0/-1"),
|
P0M1("+0/-1"),
|
||||||
P0M2("+0/-2"),
|
P0M2("+0/-2"),
|
||||||
P1P1("+1/+1"),
|
P1P1("+1/+1"),
|
||||||
|
P1P0("+1/+0"),
|
||||||
QUEST(),
|
QUEST(),
|
||||||
SPORE(),
|
SPORE(),
|
||||||
TIME(),
|
TIME(),
|
||||||
|
|||||||
Reference in New Issue
Block a user