mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Added Crawlspace, Silent Arbiter and Caverns of Despair.
This commit is contained in:
3
.gitattributes
vendored
3
.gitattributes
vendored
@@ -739,6 +739,7 @@ res/cardsfolder/cave_sense.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/cavern_crawler.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/cavern_harpy.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/cavern_thoctar.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/caverns_of_despair.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/caves_of_koilos.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/celestial_colonnade.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/celestial_crusader.txt -text svneol=native#text/plain
|
||||
@@ -946,6 +947,7 @@ res/cardsfolder/craven_knight.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/craw_giant.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/craw_wurm.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/crawling_filth.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/crawlspace.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/crazed_goblin.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/crazed_skirge.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/creakwood_ghoul.txt -text svneol=native#text/plain
|
||||
@@ -4085,6 +4087,7 @@ res/cardsfolder/sigil_of_the_new_dawn.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/sigiled_behemoth.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/sigiled_paladin.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/sign_in_blood.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/silent_arbiter.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/silent_attendant.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/silent_chant_zubera.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/silent_specter.txt -text svneol=native#text/plain
|
||||
|
||||
8
res/cardsfolder/caverns_of_despair.txt
Normal file
8
res/cardsfolder/caverns_of_despair.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Caverns of Despair
|
||||
ManaCost:2 R R
|
||||
Types:World Enchantment
|
||||
Text:No more than two creatures can attack each combat. No more than two creatures can block each combat.
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/caverns_of_despair.jpg
|
||||
End
|
||||
7
res/cardsfolder/crawlspace.txt
Normal file
7
res/cardsfolder/crawlspace.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Crawlspace
|
||||
ManaCost:3
|
||||
Types:Artifact
|
||||
Text:No more than two creatures can attack you each combat.
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/crawlspace.jpg
|
||||
End
|
||||
8
res/cardsfolder/silent_arbiter.txt
Normal file
8
res/cardsfolder/silent_arbiter.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Silent Arbiter
|
||||
ManaCost:4
|
||||
Types:Artifact Creature Construct
|
||||
Text:No more than one creature can attack each combat. No more than one creature can block each combat.
|
||||
PT:1/5
|
||||
SVar:Rarity:Rare
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/silent_arbiter.jpg
|
||||
End
|
||||
@@ -257,6 +257,12 @@ public class CombatUtil {
|
||||
|
||||
if (blocker.getCounters(Counters.BRIBERY) > 0 && AllZoneUtil.isCardInPlay("Gwafa Hazid, Profiteer"))
|
||||
return false;
|
||||
|
||||
if (AllZone.Combat.getAllBlockers().size() > 1 && AllZoneUtil.isCardInPlay("Caverns of Despair"))
|
||||
return false;
|
||||
|
||||
if (AllZone.Combat.getAllBlockers().size() > 0 && AllZoneUtil.isCardInPlay("Silent Arbiter"))
|
||||
return false;
|
||||
|
||||
CardList kulrath = AllZoneUtil.getCardsInPlay("Kulrath Knight");
|
||||
if (kulrath.size() > 0)
|
||||
@@ -344,7 +350,8 @@ public class CombatUtil {
|
||||
}
|
||||
|
||||
if(c.isTapped() || c.hasSickness() || c.getKeyword().contains("Defender") || moatPrevented
|
||||
|| AllZoneUtil.isCardInPlay("Blazing Archon", c.getController().getOpponent()) || c.getKeyword().contains("CARDNAME can't attack.")
|
||||
|| AllZoneUtil.isCardInPlay("Blazing Archon", c.getController().getOpponent())
|
||||
|| c.getKeyword().contains("CARDNAME can't attack.")
|
||||
|| c.getKeyword().contains("CARDNAME can't attack or block.")
|
||||
|| (AllZoneUtil.isCardInPlay("Reverence", c.getController().getOpponent()) && c.getNetAttack() < 3))
|
||||
return false;
|
||||
@@ -352,6 +359,15 @@ public class CombatUtil {
|
||||
if (c.getCounters(Counters.BRIBERY) > 0 && AllZoneUtil.isCardInPlay("Gwafa Hazid, Profiteer"))
|
||||
return false;
|
||||
|
||||
if (AllZone.Combat.getAttackers().length > 1 && AllZoneUtil.isCardInPlay("Crawlspace",c.getController().getOpponent()))
|
||||
return false;
|
||||
|
||||
if (AllZone.Combat.getAttackers().length > 1 && AllZoneUtil.isCardInPlay("Caverns of Despair"))
|
||||
return false;
|
||||
|
||||
if (AllZone.Combat.getAttackers().length > 0 && AllZoneUtil.isCardInPlay("Silent Arbiter"))
|
||||
return false;
|
||||
|
||||
if (AllZoneUtil.isCardInPlay("Ensnaring Bridge")) {
|
||||
int limit = Integer.MAX_VALUE;
|
||||
CardList Human = new CardList();
|
||||
|
||||
Reference in New Issue
Block a user