mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Added support for remembering drawn cards to Draw AF with "RememberDrawn" script key
This commit is contained in:
@@ -423,8 +423,15 @@ public class AbilityFactory_ZoneAffecting {
|
||||
if (slowDraw)
|
||||
for (int i = 0; i < numCards; i++)
|
||||
p.addSlowtripList(source);
|
||||
else
|
||||
p.drawCards(numCards);
|
||||
else {
|
||||
CardList drawn = p.drawCards(numCards);
|
||||
if (params.containsKey("RememberDrawn")) {
|
||||
for (Card c : drawn) {
|
||||
source.addRemembered(c);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user