mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
* bugfixes spDamageAll, Teferi Puzzle Box
This commit is contained in:
@@ -2132,7 +2132,7 @@ public class CardFactory implements NewConstants {
|
|||||||
// non-Artifact, non-Creature, non-Enchantment, non-Land, non-Permanent,
|
// non-Artifact, non-Creature, non-Enchantment, non-Land, non-Permanent,
|
||||||
//non-White, non-Blue, non-Black, non-Red, non-Green, non-Colorless, non-MultiColor
|
//non-White, non-Blue, non-Black, non-Red, non-Green, non-Colorless, non-MultiColor
|
||||||
if (Targets.startsWith("Player")) {
|
if (Targets.startsWith("Player")) {
|
||||||
Targets.replaceFirst("Player,", "");
|
Targets = Targets.replaceFirst("Player,", "");
|
||||||
DmgPlayer[0] = true;
|
DmgPlayer[0] = true;
|
||||||
} // if Players are affected they have to be at the start
|
} // if Players are affected they have to be at the start
|
||||||
final String Tgts[] = Targets.split(",");
|
final String Tgts[] = Targets.split(",");
|
||||||
|
|||||||
@@ -9032,7 +9032,7 @@ public class GameActionUtil {
|
|||||||
hand.addAll(Playerhand.getCards());
|
hand.addAll(Playerhand.getCards());
|
||||||
int Count = hand.size();
|
int Count = hand.size();
|
||||||
for(int i = 0; i < list.size(); i++) {
|
for(int i = 0; i < list.size(); i++) {
|
||||||
if(player == "Human") {
|
if("Human".equals(player)) {
|
||||||
for(int e = 0; e < Count; e++) {
|
for(int e = 0; e < Count; e++) {
|
||||||
if(hand.size() == 0) hand.addAll(Playerhand.getCards());
|
if(hand.size() == 0) hand.addAll(Playerhand.getCards());
|
||||||
handlist = hand.toArray();
|
handlist = hand.toArray();
|
||||||
|
|||||||
Reference in New Issue
Block a user