- 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
3 G G W W
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
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
1 U B
Creature Atog
@@ -9887,12 +9893,6 @@ no cost
Land
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
1 G G
Creature Treefolk

View File

@@ -1738,3 +1738,15 @@ Shock Troops
Aeolipile
Orcish Bloodpainter
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
Orcish Bloodpainter
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
Unyaro Bees
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
Scorched Rusalka
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
Unyaro Bees
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
Scorched Rusalka
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
public boolean canPlayAI() {
return getAttacker() != null;
return getLegendaryAttackers().size() > 0;
}
@Override
@@ -2416,15 +2416,27 @@ class CardFactory_Lands {
setTargetCard(getAttacker());
}
public Card getAttacker() {
//target creature that is going to attack
public CardList getLegendaryAttackers() {
Combat c = ComputerUtil.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.shuffle();
return att;
}
public Card getAttacker() {
//target creature that is going to attack
CardList att = getLegendaryAttackers();
if (att.size() == 0) return null;
if(att.size() != 0) return att.get(0);
else return null;
att.shuffle();
return att.get(0);
}//getAttacker()
@Override