mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
1) Added these cards and their LQ pic urls: Immolation; Maggot Therapy; Riot Spikes; Sangrite Backlash; Twisted Experiment.
2) Improved the canPlayAI() method located in SpellAbility enPump_Enchant.
This commit is contained in:
@@ -38,6 +38,11 @@ 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
|
||||||
|
immolation.jpg http://www.wizards.com/global/images/magic/general/immolation.jpg
|
||||||
|
maggot_therapy.jpg http://www.wizards.com/global/images/magic/general/maggot_therapy.jpg
|
||||||
|
riot_spikes.jpg http://www.wizards.com/global/images/magic/general/riot_spikes.jpg
|
||||||
|
sangrite_backlash.jpg http://www.wizards.com/global/images/magic/general/sangrite_backlash.jpg
|
||||||
|
twisted_experiment.jpg http://www.wizards.com/global/images/magic/general/twisted_experiment.jpg
|
||||||
the_rack.jpg http://www.wizards.com/global/images/magic/general/the_rack.jpg
|
the_rack.jpg http://www.wizards.com/global/images/magic/general/the_rack.jpg
|
||||||
crumble.jpg http://www.wizards.com/global/images/magic/general/crumble.jpg
|
crumble.jpg http://www.wizards.com/global/images/magic/general/crumble.jpg
|
||||||
flashfires.jpg http://www.wizards.com/global/images/magic/general/flashfires.jpg
|
flashfires.jpg http://www.wizards.com/global/images/magic/general/flashfires.jpg
|
||||||
|
|||||||
@@ -1,3 +1,39 @@
|
|||||||
|
Immolation
|
||||||
|
R
|
||||||
|
Enchantment Aura
|
||||||
|
Enchanted creature gets +2/-2.
|
||||||
|
Enchant creature
|
||||||
|
enPump:+2/-2
|
||||||
|
|
||||||
|
Maggot Therapy
|
||||||
|
2 B
|
||||||
|
Enchantment Aura
|
||||||
|
Enchanted creature gets +2/-2.
|
||||||
|
Flash
|
||||||
|
Enchant creature
|
||||||
|
enPump:+2/-2
|
||||||
|
|
||||||
|
Riot Spikes
|
||||||
|
BR
|
||||||
|
Enchantment Aura
|
||||||
|
Enchanted creature gets +2/-1.
|
||||||
|
Enchant creature
|
||||||
|
enPump:+2/-1
|
||||||
|
|
||||||
|
Sangrite Backlash
|
||||||
|
BG R
|
||||||
|
Enchantment Aura
|
||||||
|
Enchanted creature gets +3/-3.
|
||||||
|
Enchant creature
|
||||||
|
enPump:+3/-3
|
||||||
|
|
||||||
|
Twisted Experiment
|
||||||
|
1 B
|
||||||
|
Enchantment Aura
|
||||||
|
Enchanted creature gets +3/-1.
|
||||||
|
Enchant creature
|
||||||
|
enPump:+3/-1
|
||||||
|
|
||||||
The Rack
|
The Rack
|
||||||
1
|
1
|
||||||
Artifact
|
Artifact
|
||||||
|
|||||||
@@ -1414,6 +1414,7 @@ public class CardFactoryUtil {
|
|||||||
|
|
||||||
//else (is there a Rabid Wombat or a Uril, the Miststalker to target?)
|
//else (is there a Rabid Wombat or a Uril, the Miststalker to target?)
|
||||||
|
|
||||||
|
if (Tough >= -1) { // we want Rabid Wombat or a Uril, the Miststalker to gain at least +1 toughness
|
||||||
CardList auraMagnetList = new CardList(AllZone.Computer_Play.getCards());
|
CardList auraMagnetList = new CardList(AllZone.Computer_Play.getCards());
|
||||||
auraMagnetList = auraMagnetList.filter(new CardListFilter() {
|
auraMagnetList = auraMagnetList.filter(new CardListFilter() {
|
||||||
public boolean addCard(Card c) {
|
public boolean addCard(Card c) {
|
||||||
@@ -1429,7 +1430,7 @@ public class CardFactoryUtil {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//else (if aura is keyword only)
|
//else (if aura is keyword only)
|
||||||
|
|
||||||
if (Power == 0 && Tough == 0) { // This aura is keyword only
|
if (Power == 0 && Tough == 0) { // This aura is keyword only
|
||||||
@@ -1438,7 +1439,7 @@ public class CardFactoryUtil {
|
|||||||
ArrayList<String> extKeywords = new ArrayList<String>(Arrays.asList(extrinsicKeywords));
|
ArrayList<String> extKeywords = new ArrayList<String>(Arrays.asList(extrinsicKeywords));
|
||||||
for (String s:extKeywords) {
|
for (String s:extKeywords) {
|
||||||
if (!c.getKeyword().contains(s))
|
if (!c.getKeyword().contains(s))
|
||||||
return true;
|
return true; // Do not duplicate keyword and do not kill by reducing toughness to <= zero
|
||||||
}
|
}
|
||||||
//no new keywords:
|
//no new keywords:
|
||||||
return false;
|
return false;
|
||||||
@@ -1452,9 +1453,10 @@ public class CardFactoryUtil {
|
|||||||
CardListUtil.sortFlying(list);
|
CardListUtil.sortFlying(list);
|
||||||
|
|
||||||
for (int i = 0; i < list.size(); i++) {
|
for (int i = 0; i < list.size(); i++) {
|
||||||
if (CardFactoryUtil.canTarget(sourceCard, list.get(i))) {
|
if (CardFactoryUtil.canTarget(sourceCard, list.get(i)) &&
|
||||||
setTargetCard(list.get(i));
|
list.get(i).getNetAttack() + Power > 0 && list.get(i).getNetDefense() + Tough > 0) {
|
||||||
return true;
|
setTargetCard(list.get(i)); // Do not reduce power to <= zero
|
||||||
|
return true; // Do not kill by reducing toughness to <= zero
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user