mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Merge pull request #3738 from tool4ever/lastchapter
Fix LastChapter logic
This commit is contained in:
@@ -1801,7 +1801,7 @@ public class CardFactoryUtil {
|
||||
for (int i = idx; i <= skipId; i++) {
|
||||
SpellAbility sa = AbilityFactory.getAbility(card, ab);
|
||||
sa.setChapter(i);
|
||||
sa.setLastChapter(idx == abs.size());
|
||||
sa.setLastChapter(i == abs.size());
|
||||
|
||||
StringBuilder trigStr = new StringBuilder("Mode$ CounterAdded | ValidCard$ Card.Self | TriggerZones$ Battlefield");
|
||||
trigStr.append("| Chapter$ ").append(i).append(" | CounterType$ LORE | CounterAmount$ EQ").append(i);
|
||||
|
||||
Reference in New Issue
Block a user