mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- Tweaked the stack description of AF Pump (it now shows unique numbers).
This commit is contained in:
@@ -823,7 +823,6 @@ public class AbilityFactoryPump {
|
|||||||
// when damageStackDescription is called, just build exactly what is
|
// when damageStackDescription is called, just build exactly what is
|
||||||
// happening
|
// happening
|
||||||
final StringBuilder sb = new StringBuilder();
|
final StringBuilder sb = new StringBuilder();
|
||||||
final String name = af.getHostCard().getName();
|
|
||||||
ArrayList<GameEntity> tgts = new ArrayList<GameEntity>();
|
ArrayList<GameEntity> tgts = new ArrayList<GameEntity>();
|
||||||
|
|
||||||
final Target tgt = sa.getTarget();
|
final Target tgt = sa.getTarget();
|
||||||
@@ -844,7 +843,7 @@ public class AbilityFactoryPump {
|
|||||||
if (sa instanceof AbilitySub) {
|
if (sa instanceof AbilitySub) {
|
||||||
sb.append(" ");
|
sb.append(" ");
|
||||||
} else {
|
} else {
|
||||||
sb.append(name).append(" - ");
|
sb.append(af.getHostCard()).append(" - ");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params.containsKey("StackDescription")) {
|
if (params.containsKey("StackDescription")) {
|
||||||
@@ -852,7 +851,7 @@ public class AbilityFactoryPump {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
for (final GameEntity c : tgts) {
|
for (final GameEntity c : tgts) {
|
||||||
sb.append(c.getName()).append(" ");
|
sb.append(c).append(" ");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (af.getMapParams().containsKey("Radiance")) {
|
if (af.getMapParams().containsKey("Radiance")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user