mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Conversion to StringBuilder. This finishes GameActionUtil.java.
This commit is contained in:
@@ -13793,8 +13793,11 @@ public class GameActionUtil {
|
|||||||
}
|
}
|
||||||
}// resolve()
|
}// resolve()
|
||||||
};// SpellAbility
|
};// SpellAbility
|
||||||
ability.setStackDescription("Sosuke's Summons - return card to "
|
|
||||||
+ player + "'s hand");
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("Sosuke's Summons - return card to ").append(player).append("'s hand");
|
||||||
|
ability.setStackDescription(sb.toString());
|
||||||
|
|
||||||
AllZone.Stack.add(ability);
|
AllZone.Stack.add(ability);
|
||||||
}// if
|
}// if
|
||||||
|
|
||||||
@@ -14258,14 +14261,12 @@ public class GameActionUtil {
|
|||||||
new String[] {"Creature", "Insect"}, 1, 1, new String[] {""});
|
new String[] {"Creature", "Insect"}, 1, 1, new String[] {""});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};// SpellAbility
|
||||||
ability.setStackDescription(hivemasterList.get(
|
|
||||||
outer).getName()
|
StringBuilder sb = new StringBuilder();
|
||||||
+ " - "
|
sb.append(hivemasterList.get(outer).getName()).append(" - ").append(hivemasterList.get(outer).getController());
|
||||||
+ hivemasterList.get(outer).getController()
|
sb.append(" puts ").append(n[0]).append(" insect tokens into play.");
|
||||||
+ " puts "
|
ability.setStackDescription(sb.toString());
|
||||||
+ n[0]
|
|
||||||
+ " insect tokens into play.");
|
|
||||||
|
|
||||||
if(n[0] != 0) {
|
if(n[0] != 0) {
|
||||||
AllZone.Stack.push(ability);
|
AllZone.Stack.push(ability);
|
||||||
@@ -20853,8 +20854,12 @@ public class GameActionUtil {
|
|||||||
public void resolve() {
|
public void resolve() {
|
||||||
crd.addCounter(Counters.P1P1, 1);
|
crd.addCounter(Counters.P1P1, 1);
|
||||||
}
|
}
|
||||||
};
|
};// Ability
|
||||||
ability.setStackDescription(c.getName() + " - gets a +1/+1 counter.");
|
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append(c.getName()).append(" - gets a +1/+1 counter.");
|
||||||
|
ability.setStackDescription(sb.toString());
|
||||||
|
|
||||||
AllZone.Stack.add(ability);
|
AllZone.Stack.add(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user