My problem is the following:
I wrote a niche Plugin for my own game to add a new damage type to the game (comparable to "HP damage" or "MP drain"), and for that, i overwrote the method "Game_Action.prototype.executeDamage" while packing the original in "let aliasExecuteDamage = Game_Action.prototype.executeDamage;"
now when the game tries to use a attack without the damagetype i added, it obiously tries to call the alias, but when it does, then it throws the error "rmmz_managers.js:2032 TypeError: Cannot read property 'damageRate' of undefined " at Game_Action.<computed>.<computed> (VisuMZ_1_BattleCore.js:formatted:24832). Now the problem is that I have no clue what "damageRate" is supposed to be and therefore cannot say why it throws this error. I cannot go more into the details here, but if i know what "damageRate" should be, i should be able to find out the rest myself.
I wrote a niche Plugin for my own game to add a new damage type to the game (comparable to "HP damage" or "MP drain"), and for that, i overwrote the method "Game_Action.prototype.executeDamage" while packing the original in "let aliasExecuteDamage = Game_Action.prototype.executeDamage;"
now when the game tries to use a attack without the damagetype i added, it obiously tries to call the alias, but when it does, then it throws the error "rmmz_managers.js:2032 TypeError: Cannot read property 'damageRate' of undefined " at Game_Action.<computed>.<computed> (VisuMZ_1_BattleCore.js:formatted:24832). Now the problem is that I have no clue what "damageRate" is supposed to be and therefore cannot say why it throws this error. I cannot go more into the details here, but if i know what "damageRate" should be, i should be able to find out the rest myself.