- Committed a change to allow the simulatenous SAs coming from different cards to be detected as different (by pfps), reverted a previous change with faulty logic.

This commit is contained in:
Agetian
2017-01-06 04:59:46 +00:00
parent 95c925a236
commit 505b8c1c74
3 changed files with 17 additions and 9 deletions

View File

@@ -1202,11 +1202,7 @@ public class PlayerControllerHuman
String saLookupKey = firstStr;
char delim = (char)5;
for (int i = 1; i < orderedSAs.size(); i++) {
SpellAbility currentSa = orderedSAs.get(i);
String saStr = currentSa.toString();
if (currentSa.getHostCard() != null) {
saStr += " - " + currentSa.getHostCard().getId();
}
final String saStr = orderedSAs.get(i).toString();
if (!needPrompt && !saStr.equals(firstStr)) {
needPrompt = true; //prompt by default unless all abilities are the same
}