MV Help make YR's New Parameters compatible with VE Materia System

I am trying to use YR's New Parameter plugin,
with Victor's Materia System plugin.

Both plugins work fine individually, but the materia plugin doesn't recognize the parameters made with the New Parameter plugin.

I realize this will likely require an edit to one or both plugins. I don't know code but I had some success by adding the following code to line 1229 of the materia plugin.

VictorEngine.MateriaSystem.paramPlus = Game_Actor.prototype.YRparamPlus;
Game_Actor.prototype.YRparamPlus = function(paramId) {
var result = VictorEngine.MateriaSystem.paramPlus.call(this, paramId);
return result + this.materiaParamPlus(paramId);
};

This causes changes to stats on the materia to also affect the custom stats, with the regular params id used for YRparam, as well as the regular param

ex)

<materia>
effect: hp +100
effect: lit +50
</materia>

With the added code this causes lit to go up 100 as well as hp but the +50 does nothing. I realize I'm probably pretty far off from a solution with that but it has at least given me hope that it's possible.

Please help!
I ended up finding a workaround using Yanfly's auto passive states. By putting a passive state on the skill learned by the materia and putting the YR parameters on that state everything works as intended. Thread can be closed.
Thanks for the update! This thread is closed due to being indicated as solved. Report the next one so it can found easily. If you need this one reopened, report it to let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/help-make-yrs-new-parameters-compatible-with-ve-materia-system.176118/