mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Merge branch 'master' of https://git.cardforge.org/core-developers/forge into ui-card-translation
This commit is contained in:
@@ -437,7 +437,7 @@ public class VAssignDamage {
|
||||
}
|
||||
else if (defender instanceof CardView) { // planeswalker
|
||||
final CardView pw = (CardView)defender;
|
||||
lethalDamage = pw.getCurrentState().getLoyalty();
|
||||
lethalDamage = Integer.valueOf(pw.getCurrentState().getLoyalty());
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -706,7 +706,7 @@ public class CardPanel extends SkinnedPanel implements CardContainer, IDisposabl
|
||||
String sPt = "";
|
||||
if (state.isCreature() && state.isPlaneswalker()) {
|
||||
sPt = state.getPower() + "/" + state.getToughness() +
|
||||
" (" + String.valueOf(state.getLoyalty()) + ")";
|
||||
" (" + state.getLoyalty() + ")";
|
||||
}
|
||||
else if (state.isCreature()) {
|
||||
sPt = state.getPower() + "/" + state.getToughness();
|
||||
@@ -715,7 +715,7 @@ public class CardPanel extends SkinnedPanel implements CardContainer, IDisposabl
|
||||
sPt = "[" + state.getPower() + "/" + state.getToughness() + "]";
|
||||
}
|
||||
else if (state.isPlaneswalker()) {
|
||||
sPt = String.valueOf(state.getLoyalty());
|
||||
sPt = state.getLoyalty();
|
||||
}
|
||||
ptText.setText(sPt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user