mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
CardFactoryUtil: fix Saga
This commit is contained in:
@@ -3039,7 +3039,7 @@ public class CardFactoryUtil {
|
|||||||
StringBuilder trigStr = new StringBuilder("Mode$ CounterAdded | ValidCard$ Card.Self | TriggerZones$ Battlefield");
|
StringBuilder trigStr = new StringBuilder("Mode$ CounterAdded | ValidCard$ Card.Self | TriggerZones$ Battlefield");
|
||||||
trigStr.append("| CounterType$ LORE | CounterAmount$ EQ").append(i);
|
trigStr.append("| CounterType$ LORE | CounterAmount$ EQ").append(i);
|
||||||
if (i != idx) {
|
if (i != idx) {
|
||||||
trigStr.append("Secondary$ True");
|
trigStr.append(" | Secondary$ True");
|
||||||
}
|
}
|
||||||
trigStr.append("| TriggerDescription$ ").append(desc).append(" — ").append(sa.getDescription());
|
trigStr.append("| TriggerDescription$ ").append(desc).append(" — ").append(sa.getDescription());
|
||||||
final Trigger t = TriggerHandler.parseTrigger(trigStr.toString(), card, intrinsic);
|
final Trigger t = TriggerHandler.parseTrigger(trigStr.toString(), card, intrinsic);
|
||||||
|
|||||||
Reference in New Issue
Block a user