Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PutMinionOnBoardSpell #370

Open
percy896 opened this issue Jul 26, 2017 · 2 comments
Open

PutMinionOnBoardSpell #370

percy896 opened this issue Jul 26, 2017 · 2 comments

Comments

@percy896
Copy link

percy896 commented Jul 26, 2017

Hi there,
I can't seem to get PutMinionOnBoardSpell working with SpecificCardFilter. Here is the code:

"battlecry": {
		"targetSelection": "NONE",
		"spell": {
			"class": "PutMinionOnBoardSpell",
			"value": 2,
			"targetPlayer": "SELF",
			"cardLocation": "DECK",
			"cardFilter": {
				"class": "SpecificCardFilter",
				"card": "minion_imp"
			}
		}
	},

Metastone doesn't say there's an error with the card, but when the card is played, it doesn't summon 2 Imps from my deck like it's supposed to. Thoughts?

Thank you!

@Muhframos
Copy link

Muhframos commented Jul 27, 2017

 "battlecry": {
 	"spell": {
			"class": "PutRandomMinionOnBoardSpell",
 			"targetPlayer": "SELF",
			"value": 2,
 			"cardLocation": "DECK",
 			"cardFilter": {
 			"class": "SpecificCardFilter",
 			"cardId": "minion_imp"
 		}
 		}
 	},
 	"attributes": {
 		"BATTLECRY": true
 	},

Try this one.

@percy896
Copy link
Author

Thank you! So I guess "cardId" has to be there instead of "card", and also "PutRandomMinionOnBoardSpell" is the only one that works, instead of "PutMinionOnBoardSpell". Just trying to understand why this worked and mine didn't.

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants