* Started to fix color setting for cards (e.g. Painter's Serverant) #408 (not completely finished yet).

This commit is contained in:
LevelX2 2015-06-10 01:24:38 +02:00
parent 119422750c
commit c27ef5ee97
169 changed files with 515 additions and 395 deletions

View file

@ -81,7 +81,7 @@ public class Spell extends StackObjImpl implements Card {
public Spell(Card card, SpellAbility ability, UUID controllerId, Zone fromZone) {
this.card = card;
this.color = card.getColor().copy();
this.color = card.getColor(null).copy();
id = ability.getId();
this.ability = ability;
this.ability.setControllerId(controllerId);
@ -431,7 +431,7 @@ public class Spell extends StackObjImpl implements Card {
}
@Override
public ObjectColor getColor() {
public ObjectColor getColor(Game game) {
return color;
}