- Updated Rarity from Scripts

- Updated Aven Trailblazer and People of the Woods to have 0 toughness so they don't die before real toughness is calculated.
- Updated Shizo for AI. Will now only target Legendary creatures without Fear or Shroud instead of any creature it controls.
This commit is contained in:
jendave
2011-08-06 05:43:06 +00:00
parent 03cd86467c
commit c2f9fa686a
8 changed files with 107 additions and 19 deletions

View File

@@ -1,3 +1,16 @@
People of the Woods
G G
Creature Human
People of the Woods's toughness is equal to the number of Forests you control.
1/1
Aven Trailblazer
2 W
Creature Bird Soldier
Domain - Aven Trailblazer's toughness is equal to the number of basic land types among lands you control.
2/1
Flying
Lady Caleria Lady Caleria
3 G G W W 3 G G W W
Legendary Creature Human Archer Legendary Creature Human Archer
@@ -4784,13 +4797,6 @@ no text
spDiscardTgt:TgtChoose:X:Target player discards a card for each Swamp you control.:Mind Sludge - target player discards cards spDiscardTgt:TgtChoose:X:Target player discards a card for each Swamp you control.:Mind Sludge - target player discards cards
SVar:X:Count$TypeYouCtrl.Swamp SVar:X:Count$TypeYouCtrl.Swamp
Aven Trailblazer
2 W
Creature Bird Soldier
Domain - Aven Trailblazer's toughness is equal to the number of basic land types among lands you control.
2/0
Flying
Psychatog Psychatog
1 U B 1 U B
Creature Atog Creature Atog
@@ -9887,12 +9893,6 @@ no cost
Land Land
tap: Sacrifice a creature: You gain life equal to the sacrificed creature's toughness. tap: Sacrifice a creature: You gain life equal to the sacrificed creature's toughness.
People of the Woods
G G
Creature Human
People of the Woods's toughness is equal to the number of Forests you control.
1/0
Gaea's Avenger Gaea's Avenger
1 G G 1 G G
Creature Treefolk Creature Treefolk

View File

@@ -1738,3 +1738,15 @@ Shock Troops
Aeolipile Aeolipile
Orcish Bloodpainter Orcish Bloodpainter
Orcish Mechanics Orcish Mechanics
Frostwind Invoker
Goblin Lookout
Ghost Tactician
Lavafume Invoker
Deglamer
Saprazzan Raider
Zephyr Spirit
Tukatongue Thallid
Jackalope Herd
Viashino Sandscout
Fists of Ironwood
Lys Alana Huntmaster

View File

@@ -1738,3 +1738,15 @@ Shock Troops
Aeolipile Aeolipile
Orcish Bloodpainter Orcish Bloodpainter
Orcish Mechanics Orcish Mechanics
Frostwind Invoker
Goblin Lookout
Ghost Tactician
Lavafume Invoker
Deglamer
Saprazzan Raider
Zephyr Spirit
Tukatongue Thallid
Jackalope Herd
Viashino Sandscout
Fists of Ironwood
Lys Alana Huntmaster

View File

@@ -1006,3 +1006,14 @@ Megatog
Auratog Auratog
Unyaro Bees Unyaro Bees
Keldon Necropolis Keldon Necropolis
Diamond Faerie
Gerrard's Battle Cry
Leonin Sun Standard
Steel Overseer
Mirror Gallery
Gwafa Hazid, Profiteer
Parallel Evolution
Rotlung Reanimator
Quicksilver Amulet
Wildfire
Destructive Force

View File

@@ -1074,3 +1074,18 @@ Blasting Station
Blood Rites Blood Rites
Scorched Rusalka Scorched Rusalka
Tar Pitcher Tar Pitcher
Aerie Mystics
Goblin Soothsayer
Skyshaper
Stampede Driver
Kulrath Knight
Timid Drake
Symbiotic Beast
Haru-Onna
Grixis Slavedriver
Breeding Pit
Viashino Cutthroat
Viashino Sandstalker
Infested Roothold
Lady Caleria
Tor Wauki

View File

@@ -1006,3 +1006,14 @@ Megatog
Auratog Auratog
Unyaro Bees Unyaro Bees
Keldon Necropolis Keldon Necropolis
Diamond Faerie
Gerrard's Battle Cry
Leonin Sun Standard
Steel Overseer
Mirror Gallery
Gwafa Hazid, Profiteer
Parallel Evolution
Rotlung Reanimator
Quicksilver Amulet
Wildfire
Destructive Force

View File

@@ -1074,3 +1074,18 @@ Blasting Station
Blood Rites Blood Rites
Scorched Rusalka Scorched Rusalka
Tar Pitcher Tar Pitcher
Aerie Mystics
Goblin Soothsayer
Skyshaper
Stampede Driver
Kulrath Knight
Timid Drake
Symbiotic Beast
Haru-Onna
Grixis Slavedriver
Breeding Pit
Viashino Cutthroat
Viashino Sandstalker
Infested Roothold
Lady Caleria
Tor Wauki

View File

@@ -2408,7 +2408,7 @@ class CardFactory_Lands {
@Override @Override
public boolean canPlayAI() { public boolean canPlayAI() {
return getAttacker() != null; return getLegendaryAttackers().size() > 0;
} }
@Override @Override
@@ -2416,15 +2416,27 @@ class CardFactory_Lands {
setTargetCard(getAttacker()); setTargetCard(getAttacker());
} }
public Card getAttacker() { public CardList getLegendaryAttackers() {
//target creature that is going to attack
Combat c = ComputerUtil.getAttackers(); Combat c = ComputerUtil.getAttackers();
CardList att = new CardList(c.getAttackers()); CardList att = new CardList(c.getAttackers());
// Shizo can only target Legendary, don't target creatures that already have Fear
att = att.filter(new CardListFilter() {
public boolean addCard(Card c) {
return CardFactoryUtil.canTarget(card, c) && c.getType().contains("Legendary")
&& !c.getIntrinsicKeyword().contains("Fear");
}
});
att.remove(card); att.remove(card);
att.shuffle(); return att;
}
if(att.size() != 0) return att.get(0); public Card getAttacker() {
else return null; //target creature that is going to attack
CardList att = getLegendaryAttackers();
if (att.size() == 0) return null;
att.shuffle();
return att.get(0);
}//getAttacker() }//getAttacker()
@Override @Override