Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

How do I use custom HP like parameter as a cost for a spell or make an item recover the custom parameter?

Hi there!

To make the custom parameter as a cost for a skill, you will need my Skill Cost plugin

To make an item recover that custom parameter, you need to attach a common event to it and use the script calls listed on the plugin parameter.

  • To change the current parameter value, like changing the hp and not the mhp, you can use the following:
    • $gameParty.members()[0].changeCustomHpParam(paramId/shortName, value)
  • To set a value, you can use the below:
    • $gameParty.members()[0].setCustomHpParam(paramId/shortName, value)

But I will add a way to do it through note tags as you can already do with Buff/Debuff in the next update.