Re: Current Known Bugs list
I've fixed this now for a bunch of cards (all of the rebels/mercenaries, Counterbalance, Rootwater Thief, ..., there's probably a bunch more though).RE the creatures searching their owners library. The fix here isn't simple in execution perhaps but in concept it should be as follows:
Each player is both a controller and an owner. Owners have graveyards, hands, decks, removed piles, and play areas. Controllers have permanents and spells. whenever a permanent controlled by a player has an ability that is triggered and or put on the stack that permanent needs to know its own controller and its own owner. If control of that permanent changes the permanent should know its new controller and its owner.
The main reason this bug currently occurs, is with cards that have their abilities defined like this:
- Code: Select all
if cardName.equals("blah blah")
{
final String player = card.getController();
final SpellAbility ability = new Ability_Tap(card, cost)
{
public void resolve()
{
//....
}
}
};
}
- Code: Select all
if cardName.equals("blah blah")
{
final SpellAbility ability = new Ability_Tap(card, cost)
{
public void resolve()
{
String player = card.getController();
//....
}
}
};
}
