mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fix NPE when creating room token (#6281)
This commit is contained in:
@@ -119,7 +119,7 @@ public class CardCopyService {
|
||||
c.setSetCode(in.getSetCode());
|
||||
|
||||
for (final CardStateName state : in.getStates()) {
|
||||
copyState(in, state, c, state);
|
||||
copyState(in, state, c, state, false);
|
||||
}
|
||||
|
||||
c.setState(in.getCurrentStateName(), false);
|
||||
|
||||
@@ -4,7 +4,7 @@ Types:Creature Human Scout
|
||||
PT:2/3
|
||||
K:Flash
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Enchantment.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Eerie — Whenever an enchantment you control enters and whenever you fully unlock a Room, draw a card.
|
||||
T:Mode$ FullyUnlock | ValidCard$ Card.Room | ValidPlayer$ You | Secondary$ True | Execute$ TrigDraw | TriggerDescription$ Eerie — Whenever an enchantment you control enters and whenever you fully unlock a Room, draw a card.
|
||||
T:Mode$ FullyUnlock | ValidCard$ Card.Room | ValidPlayer$ You | Secondary$ True | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Eerie — Whenever an enchantment you control enters and whenever you fully unlock a Room, draw a card.
|
||||
SVar:TrigDraw:DB$ Draw
|
||||
DeckNeeds:Type$Enchantment
|
||||
Oracle:Flash\nEerie — Whenever an enchantment you control enters and whenever you fully unlock a Room, draw a card.
|
||||
|
||||
Reference in New Issue
Block a user