Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hey terrapingames, in the Card Passives notetag of the Card please include:

Require user.hp < 25

This will make it such that the card is only playable when the user has less than 25 HP.

Let us know once you implement this on your end if it does the job.

Thanks,

MythAtelier Team

Looks like that works perfectly! Thanks so much!

Is there a list of the different other RPG Maker code items anywhere that can be used after the "user." section? I assume something like "Require user.mp < 150" would also work ok, and got a couple of states from the demo project like "If this.isStateAffected(7)" and "Eval this.removeState(7)" to follow it, but it could be really helpful to see all the available code for other formulas to make potential new skills.

So, most of these would be the properties for Game_Actors. You can view them via the Console or by reviewing the code in rpg_objects.js. We think this resource might be useful as it documents those fairly well: https://docs.google.com/spreadsheets/d/1-Oa0cRGpjC8L5JO8vdMwOaYMKO75dtfKDOetnvh7...