From e98cfe0f203ff666a86bb1598f3587bea3417844 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 03:02:29 +0000 Subject: [PATCH] - Treva, the Renewer, Rith, the Awakener and Oros, the Avenger are usable by the AI now, and fixed a bug involving Control Magic and either of these cards. --- res/gui/display_layout.xml | 2 +- src/forge/CardFactory_Creatures.java | 67 +++++++++++++++++----------- 2 files changed, 43 insertions(+), 26 deletions(-) diff --git a/res/gui/display_layout.xml b/res/gui/display_layout.xml index 78e18e6bc2e..55c425bf6a2 100644 --- a/res/gui/display_layout.xml +++ b/res/gui/display_layout.xml @@ -1,5 +1,5 @@ - + diff --git a/src/forge/CardFactory_Creatures.java b/src/forge/CardFactory_Creatures.java index 086926ddf54..7edb6e3d969 100644 --- a/src/forge/CardFactory_Creatures.java +++ b/src/forge/CardFactory_Creatures.java @@ -12340,31 +12340,28 @@ public class CardFactory_Creatures { //*************** START *********** START ************************** else if (cardName.equals("Oros, the Avenger")) { - final String player = card.getController(); - final Ability ability2 = new Ability(card, "2 W") { public void resolve() { - if (player.equals("Human")) - { - CardList cards = new CardList(); - PlayerZone hum = AllZone.getZone(Constant.Zone.Play, Constant.Player.Human); - PlayerZone comp = AllZone.getZone(Constant.Zone.Play, Constant.Player.Computer); - cards.addAll(hum.getCards()); - cards.addAll(comp.getCards()); - cards = cards.getType("Creature"); - - for (int i=0;i