mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +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
|
||||
if (value != null) {
|
||||
int current = value.getValue();
|
||||
int origin = value.getBaseValue();
|
||||
int origin = value.getBaseValueModified();
|
||||
if (origin != 0) {
|
||||
if (current < origin) {
|
||||
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.drawString(ptText2, ptPosStart2, curY - ptTextOffset - 1); // center
|
||||
// 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.setColor(defaultTextColor);
|
||||
|
|
|
@ -139,8 +139,8 @@ class MetamorphicAlterationEffect extends ContinuousEffectImpl {
|
|||
for (Ability ability : copied.getAbilities()) {
|
||||
permanent.addAbility(ability, source.getSourceId(), game);
|
||||
}
|
||||
permanent.getPower().setValue(copied.getPower().getBaseValue());
|
||||
permanent.getToughness().setValue(copied.getToughness().getBaseValue());
|
||||
permanent.getPower().setValue(copied.getPower().getBaseValueModified());
|
||||
permanent.getToughness().setValue(copied.getToughness().getBaseValueModified());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue