Skip to main content

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

Hello!

When I defeat an enemy with the effect of the "Enter hand: Skill" skill in the draw at the start of a battle and end the battle, I get an error.

"TypeError Cannot read property 'item' of undefined"

It may also be that I draw multiple cards that specify "Enter hand: Skill" and there is a skill card with "Enter hand: Skill" even though there is no enemy, which causes the error.

This is PRG Maker MZ. Version 1.8.1.

Memo field (the skill ID called the skill itself):

<Card Type: Magic>

<Card Passives>

Enter hand: Skill 159

</Card Passives>

<Card Price: 100>

<Max Copies: 100>

<Deck Cost: 1>


Hello mofmof,

Thanks for reporting in this error! This is may be from a known bug that has been resolved for Card Game Combat Version 1.6.3 which will be coming out sometime December Week 2 of this year. We'll check back in with you to see if that bug has been resolved once the update is out.

We did notice in the last image you posted that "Enter hand: Skill 99" is outside of the <Card Passives> notetag block. Make sure to keep Card Actions and Card Passives inside their Notetag blocks so that the plugin can properly process them.

Thanks,

MythAtelier Team