Skip to main content

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

First, let me clarify. I made other stats work correctly, but not to interact with this particular plugin correctly.


Second, I copied the error:

TypeError: Cannot read property 'isHp' of undefined

    at Object.isHpType (EliMZ_CustomParameters.js:360)

    at Game_Actor.Game_BattlerBase.addCParam (EliMZ_CustomParameters.js:994)

    at Game_Action.itemEffectGrowC (EliMZ_CustomParameters.js:716)

    at Game_Action.applyItemEffectC (EliMZ_CustomParameters.js:683)

    at Game_Action.applyItemEffect (EliMZ_CustomParameters.js:649)

    at Game_Action.apply (rmmz_objects.js:1926)

    at Game_Action.apply (CGMZ_ExtraStats.js:966)

    at Scene_ItemBase.applyItem (rmmz_scenes.js:1636)

    at Scene_ItemBase.useItem (rmmz_scenes.js:1597)

    at Scene_Item.useItem (rmmz_scenes.js:1746)

SceneManager.catchNormalError @ rmmz_managers.js:2036

SceneManager.catchException @ rmmz_managers.js:2024

SceneManager.update @ rmmz_managers.js:1945

Graphics._onTick @ rmmz_core.js:811

TickerListener.emit @ pixi.js:9093

Ticker.update @ pixi.js:9548

Ticker._tick @ pixi.js:9298

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

requestAnimationFrame (async)

Ticker._tick @ pixi.js:9301

(1 edit)

Aand i detected the error by myself. 

For anyone else needing this particular interaction to work for themselves. In the formula box for passive points, the value for the stat is called "this.x"; Make sure to replace x with the short name of your custom stat. And also make sure to spell the short name of your custom stat in the notetag. Here i somehow assumed that, because the index number of normal stats end on 7, then the third custom stat would have an index number of 10. By replacing <GrowC:10:1 > with <GrowC:xtrasat:1 > (where xtrasat is the short name of my custom stat) i managed to make it work.

Nice! Have fun!