Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Bug report

A topic by rivershining created 63 days ago Views: 102 Replies: 7
Viewing posts 1 to 2

Thanks to this plug-in I can make the game that I always have wated to make.

But there is an error, which is, when I put on a skill 'Start in hand' and turn on the 'Fusion plug-in'  error occurs and they show me the message "Cannot read Property 'checkAllFusionConditions' of Null

Thanks for making this plug-in and I hope it to be fixed. Thank you.

Developer

Thanks for reporting in this error! Would you be able to share a screenshot of when the crash happens? We can use that to replicate the error on our side and fix it for the next update :)

Oh, how fast you reply it is... It's awesome. Anyway, I can give you this screenshot. I've tried many number of case, and i think it must occur when note tag "Start in Hand" and plugin of fusion. Thank you very much.

And also, is there any way to move a card from hand to the "top" of the deck or add a card to the "top" of the deck? 

Thank you for your reply in advance:) 

Developer

Thanks for sending these through! This will be really helpful :)

And yes, the Move this action defaults to selecting the Top of a Zone when you move a Card, so you can simply say: 

<Card Actions>
Move this to Deck
</Card Actions> 

This will make the Card will go to the top of the Deck. So long as that Deck is not shuffled, the order of the cards in the Zone should be maintained. If you have the Card Action Pack 2 plugin, you can go further by specifying Bottom, Middle and Random as positions in the target Zone to Move a Card to.

(+1)

Awesome. It's really helpful. It is still perfect now, and I hope your plug-in would be much more wonderful! Thanks for replying:)

Sorry if i disturb you, but another question. Perhaps is there any way(maybe card action) to replace specific cards to another cards?

For example, replace all the cards of 'fire(skill no. 10)' in the deck  into the cards of 'superfire(skill no. 11).

Thank you.

Developer

There are few different ways to do this, this one is the easiest. It uses keywords from both Card Action Pack 1 and Card Action Pack 2:

<Card Actions>
Select All from Deck Eval var win = SceneManager._scene._cardSelectionWindow; win._cardsSelected = win._cardsSelected.filter(card => card._skillId == 10); Transform Selected into 11 Clear Selection </Card Actions>

We grab the Deck, then filter the Selection to all Cards that match the Skill ID of 10 ("Fire"). Once we have all the Cards which match the Skill ID, we Transform the Selection to Skill ID 11 ("Superfire"). Once this operation is done we clear the Selection for future operations. When you check your Deck after playing this card, you will see that all Fire cards in the Deck have changed to Superfire.

Let me know if this works for you or if another solution is required.

(+1)

It really works. You're so kind. Thank you for your favor!!