mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
parent
7b184a76fa
commit
c355834a4e
3 changed files with 4 additions and 4 deletions
|
@ -244,7 +244,7 @@ public final class CardRendererUtils {
|
||||||
// boost colorizing
|
// boost colorizing
|
||||||
if (value != null) {
|
if (value != null) {
|
||||||
int current = value.getValue();
|
int current = value.getValue();
|
||||||
int origin = value.getBaseValue();
|
int origin = value.getBaseValueModified();
|
||||||
if (origin != 0) {
|
if (origin != 0) {
|
||||||
if (current < origin) {
|
if (current < origin) {
|
||||||
return textLight ? CARD_TEXT_COLOR_BAD_LIGHT : CARD_TEXT_COLOR_BAD_DARK;
|
return textLight ? CARD_TEXT_COLOR_BAD_LIGHT : CARD_TEXT_COLOR_BAD_DARK;
|
||||||
|
|
|
@ -1105,7 +1105,7 @@ public class ModernCardRenderer extends CardRenderer {
|
||||||
g.setColor(defaultTextColor);
|
g.setColor(defaultTextColor);
|
||||||
g.drawString(ptText2, ptPosStart2, curY - ptTextOffset - 1); // center
|
g.drawString(ptText2, ptPosStart2, curY - ptTextOffset - 1); // center
|
||||||
// t
|
// t
|
||||||
g.setColor(CardRendererUtils.getCardTextColor(cardView.getOriginalCard().getPower(), CardRendererUtils.isCardWithDamage(cardView), defaultTextColor, defaultTextLight));
|
g.setColor(CardRendererUtils.getCardTextColor(cardView.getOriginalCard().getToughness(), CardRendererUtils.isCardWithDamage(cardView), defaultTextColor, defaultTextLight));
|
||||||
g.drawString(ptText3, ptPosStart3, curY - ptTextOffset - 1); // right
|
g.drawString(ptText3, ptPosStart3, curY - ptTextOffset - 1); // right
|
||||||
//
|
//
|
||||||
g.setColor(defaultTextColor);
|
g.setColor(defaultTextColor);
|
||||||
|
|
|
@ -139,8 +139,8 @@ class MetamorphicAlterationEffect extends ContinuousEffectImpl {
|
||||||
for (Ability ability : copied.getAbilities()) {
|
for (Ability ability : copied.getAbilities()) {
|
||||||
permanent.addAbility(ability, source.getSourceId(), game);
|
permanent.addAbility(ability, source.getSourceId(), game);
|
||||||
}
|
}
|
||||||
permanent.getPower().setValue(copied.getPower().getBaseValue());
|
permanent.getPower().setValue(copied.getPower().getBaseValueModified());
|
||||||
permanent.getToughness().setValue(copied.getToughness().getBaseValue());
|
permanent.getToughness().setValue(copied.getToughness().getBaseValueModified());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue