mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
- Fixed Issue #1993: Added missing cards
This commit is contained in:
parent
8c1e7ec42e
commit
2dacf042d8
11 changed files with 229 additions and 25 deletions
|
@ -39,11 +39,11 @@ import mage.filter.common.FilterAttackingCreature;
|
|||
*
|
||||
* @author fireshoes
|
||||
*/
|
||||
public class ArmyOfAllah extends CardImpl {
|
||||
public class ArmyOfAllah1 extends CardImpl {
|
||||
|
||||
private static final FilterAttackingCreature filter = new FilterAttackingCreature("Attacking creatures");
|
||||
|
||||
public ArmyOfAllah(UUID ownerId) {
|
||||
public ArmyOfAllah1(UUID ownerId) {
|
||||
super(ownerId, 56, "Army of Allah", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{W}{W}");
|
||||
this.expansionSetCode = "ARN";
|
||||
|
||||
|
@ -51,12 +51,12 @@ public class ArmyOfAllah extends CardImpl {
|
|||
this.getSpellAbility().addEffect(new BoostAllEffect(2, 0, Duration.EndOfTurn, filter, false));
|
||||
}
|
||||
|
||||
public ArmyOfAllah(final ArmyOfAllah card) {
|
||||
public ArmyOfAllah1(final ArmyOfAllah1 card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArmyOfAllah copy() {
|
||||
return new ArmyOfAllah(this);
|
||||
public ArmyOfAllah1 copy() {
|
||||
return new ArmyOfAllah1(this);
|
||||
}
|
||||
}
|
51
Mage.Sets/src/mage/sets/arabiannights/ArmyOfAllah2.java
Normal file
51
Mage.Sets/src/mage/sets/arabiannights/ArmyOfAllah2.java
Normal file
|
@ -0,0 +1,51 @@
|
|||
/*
|
||||
* Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are
|
||||
* permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this list of
|
||||
* conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
* of conditions and the following disclaimer in the documentation and/or other materials
|
||||
* provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* The views and conclusions contained in the software and documentation are those of the
|
||||
* authors and should not be interpreted as representing official policies, either expressed
|
||||
* or implied, of BetaSteward_at_googlemail.com.
|
||||
*/
|
||||
package mage.sets.arabiannights;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author fwannmacher
|
||||
*/
|
||||
public class ArmyOfAllah2 extends ArmyOfAllah1 {
|
||||
|
||||
public ArmyOfAllah2(UUID ownerId) {
|
||||
super(ownerId);
|
||||
this.cardNumber = 57;
|
||||
}
|
||||
|
||||
public ArmyOfAllah2(final ArmyOfAllah2 card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArmyOfAllah2 copy() {
|
||||
return new ArmyOfAllah2(this);
|
||||
}
|
||||
}
|
|
@ -42,9 +42,9 @@ import mage.constants.Rarity;
|
|||
*
|
||||
* @author LoneFox
|
||||
*/
|
||||
public class NafsAsp extends CardImpl {
|
||||
public class NafsAsp1 extends CardImpl {
|
||||
|
||||
public NafsAsp(UUID ownerId) {
|
||||
public NafsAsp1(UUID ownerId) {
|
||||
super(ownerId, 36, "Nafs Asp", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{G}");
|
||||
this.expansionSetCode = "ARN";
|
||||
this.subtype.add("Snake");
|
||||
|
@ -58,12 +58,12 @@ public class NafsAsp extends CardImpl {
|
|||
false, true));
|
||||
}
|
||||
|
||||
public NafsAsp(final NafsAsp card) {
|
||||
public NafsAsp1(final NafsAsp1 card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public NafsAsp copy() {
|
||||
return new NafsAsp(this);
|
||||
public NafsAsp1 copy() {
|
||||
return new NafsAsp1(this);
|
||||
}
|
||||
}
|
51
Mage.Sets/src/mage/sets/arabiannights/NafsAsp2.java
Normal file
51
Mage.Sets/src/mage/sets/arabiannights/NafsAsp2.java
Normal file
|
@ -0,0 +1,51 @@
|
|||
/*
|
||||
* Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are
|
||||
* permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this list of
|
||||
* conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
* of conditions and the following disclaimer in the documentation and/or other materials
|
||||
* provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* The views and conclusions contained in the software and documentation are those of the
|
||||
* authors and should not be interpreted as representing official policies, either expressed
|
||||
* or implied, of BetaSteward_at_googlemail.com.
|
||||
*/
|
||||
package mage.sets.arabiannights;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author fwannmacher
|
||||
*/
|
||||
public class NafsAsp2 extends NafsAsp1 {
|
||||
|
||||
public NafsAsp2(UUID ownerId) {
|
||||
super(ownerId);
|
||||
this.cardNumber = 37;
|
||||
}
|
||||
|
||||
public NafsAsp2(final NafsAsp2 card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public NafsAsp2 copy() {
|
||||
return new NafsAsp2(this);
|
||||
}
|
||||
}
|
|
@ -56,13 +56,13 @@ import mage.target.TargetPermanent;
|
|||
*
|
||||
* @author MarcoMarin
|
||||
*/
|
||||
public class Oubliette extends CardImpl {
|
||||
public class Oubliette1 extends CardImpl {
|
||||
|
||||
public Counters godHelpMe = null;
|
||||
|
||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("target creature");
|
||||
|
||||
public Oubliette(UUID ownerId) {
|
||||
public Oubliette1(UUID ownerId) {
|
||||
super(ownerId, 11, "Oubliette", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{B}{B}");
|
||||
this.expansionSetCode = "ARN";
|
||||
|
||||
|
@ -77,13 +77,13 @@ public class Oubliette extends CardImpl {
|
|||
this.addAbility(ability2);
|
||||
}
|
||||
|
||||
public Oubliette(final Oubliette card) {
|
||||
public Oubliette1(final Oubliette1 card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Oubliette copy() {
|
||||
return new Oubliette(this);
|
||||
public Oubliette1 copy() {
|
||||
return new Oubliette1(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -134,7 +134,7 @@ class OublietteEffect extends OneShotEffect {
|
|||
}
|
||||
|
||||
//((Oubliette)enchantment.getMainCard()).godHelpMe = enchantedCreature.getCounters(game); //why doesn't work? should return the same card, no?
|
||||
((Oubliette) game.getCard(source.getSourceId())).godHelpMe = enchantedCreature.getCounters(game).copy();
|
||||
((Oubliette1) game.getCard(source.getSourceId())).godHelpMe = enchantedCreature.getCounters(game).copy();
|
||||
/*
|
||||
if (!(enchantedCreature instanceof Token)) {
|
||||
|
||||
|
@ -220,7 +220,7 @@ class OublietteReturnEffect extends OneShotEffect {
|
|||
if (oubliette == null) {
|
||||
return false;//1st stab at getting those counters back
|
||||
}
|
||||
for (Counter c : ((Oubliette) oubliette).godHelpMe.values()) { //would be nice if could just use that copy function to set the whole field
|
||||
for (Counter c : ((Oubliette1) oubliette).godHelpMe.values()) { //would be nice if could just use that copy function to set the whole field
|
||||
if (c != null) {
|
||||
newPermanent.getCounters(game).addCounter(c);
|
||||
}
|
51
Mage.Sets/src/mage/sets/arabiannights/Oubliette2.java
Normal file
51
Mage.Sets/src/mage/sets/arabiannights/Oubliette2.java
Normal file
|
@ -0,0 +1,51 @@
|
|||
/*
|
||||
* Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are
|
||||
* permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this list of
|
||||
* conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
* of conditions and the following disclaimer in the documentation and/or other materials
|
||||
* provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* The views and conclusions contained in the software and documentation are those of the
|
||||
* authors and should not be interpreted as representing official policies, either expressed
|
||||
* or implied, of BetaSteward_at_googlemail.com.
|
||||
*/
|
||||
package mage.sets.arabiannights;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author fwannmacher
|
||||
*/
|
||||
public class Oubliette2 extends Oubliette1 {
|
||||
|
||||
public Oubliette2(UUID ownerId) {
|
||||
super(ownerId);
|
||||
this.cardNumber = 12;
|
||||
}
|
||||
|
||||
public Oubliette2(final Oubliette2 card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Oubliette2 copy() {
|
||||
return new Oubliette2(this);
|
||||
}
|
||||
}
|
|
@ -41,11 +41,11 @@ import mage.filter.common.FilterBlockingCreature;
|
|||
*
|
||||
* @author MarcoMarin
|
||||
*/
|
||||
public class Piety extends CardImpl {
|
||||
public class Piety1 extends CardImpl {
|
||||
|
||||
public static final FilterBlockingCreature filter = new FilterBlockingCreature();
|
||||
|
||||
public Piety(UUID ownerId) {
|
||||
public Piety1(UUID ownerId) {
|
||||
super(ownerId, 64, "Piety", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{W}");
|
||||
this.expansionSetCode = "ARN";
|
||||
|
||||
|
@ -54,12 +54,12 @@ public class Piety extends CardImpl {
|
|||
//this.addAbility(new OnEventTriggeredAbility(GameEvent.EventType.END_TURN_STEP_POST, "end Piety", true, new BoostAllEffect(0, 3, Duration.EndOfTurn, filter, false)));
|
||||
}
|
||||
|
||||
public Piety(final Piety card) {
|
||||
public Piety1(final Piety1 card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Piety copy() {
|
||||
return new Piety(this);
|
||||
public Piety1 copy() {
|
||||
return new Piety1(this);
|
||||
}
|
||||
}
|
51
Mage.Sets/src/mage/sets/arabiannights/Piety2.java
Normal file
51
Mage.Sets/src/mage/sets/arabiannights/Piety2.java
Normal file
|
@ -0,0 +1,51 @@
|
|||
/*
|
||||
* Copyright 2010 BetaSteward_at_googlemail.com. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are
|
||||
* permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this list of
|
||||
* conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
* of conditions and the following disclaimer in the documentation and/or other materials
|
||||
* provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY BetaSteward_at_googlemail.com ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BetaSteward_at_googlemail.com OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* The views and conclusions contained in the software and documentation are those of the
|
||||
* authors and should not be interpreted as representing official policies, either expressed
|
||||
* or implied, of BetaSteward_at_googlemail.com.
|
||||
*/
|
||||
package mage.sets.arabiannights;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author fwannmacher
|
||||
*/
|
||||
public class Piety2 extends Piety1 {
|
||||
|
||||
public Piety2(UUID ownerId) {
|
||||
super(ownerId);
|
||||
this.cardNumber = 65;
|
||||
}
|
||||
|
||||
public Piety2(final Piety2 card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Piety2 copy() {
|
||||
return new Piety2(this);
|
||||
}
|
||||
}
|
|
@ -33,7 +33,7 @@ import java.util.UUID;
|
|||
*
|
||||
* @author LoneFox
|
||||
*/
|
||||
public class NafsAsp extends mage.sets.arabiannights.NafsAsp {
|
||||
public class NafsAsp extends mage.sets.arabiannights.NafsAsp1 {
|
||||
|
||||
public NafsAsp(UUID ownerId) {
|
||||
super(ownerId);
|
||||
|
|
|
@ -33,7 +33,7 @@ import java.util.UUID;
|
|||
*
|
||||
* @author MarcoMarin
|
||||
*/
|
||||
public class Piety extends mage.sets.arabiannights.Piety {
|
||||
public class Piety extends mage.sets.arabiannights.Piety1 {
|
||||
|
||||
public Piety(UUID ownerId) {
|
||||
super(ownerId);
|
||||
|
|
|
@ -33,7 +33,7 @@ import java.util.UUID;
|
|||
*
|
||||
* @author MarcoMarin
|
||||
*/
|
||||
public class Oubliette extends mage.sets.arabiannights.Oubliette {
|
||||
public class Oubliette extends mage.sets.arabiannights.Oubliette1 {
|
||||
|
||||
public Oubliette(UUID ownerId) {
|
||||
super(ownerId);
|
||||
|
|
Loading…
Reference in a new issue