forked from External/mage
* Started to fix color setting for cards (e.g. Painter's Serverant) #408 (not completely finished yet).
This commit is contained in:
parent
119422750c
commit
c27ef5ee97
169 changed files with 515 additions and 395 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue