MV Yanfly ExtraParamFormula

I've been trying to get this to work for 3 hours, I added this to a common event

var actor = $gameActors.actor(28);
actor.addHrg(0.7)

Then in my state I've added this

<Custom Respond Effect>

$gameTemp.reserveCommonEvent(9)

</Custom Respond Effect>

I'm starting to think it may be a compatibility issue as I'm also using Olivia's OctoBattle, spent $10 on Yanfly's scripts hoping for a solution and just very lost. I can't find anything on the internet it terms of why this might not be working.
why are you using a common event for this when youre already using script? why not just put the script into the state notetag?
Common events arent ran immediately when called. Common events are only allowed to run at specific times and when one is called, the game puts it aside and runs it whenever it gets its next opportunity to do so. hence reserveCommonEvent
I'm not too familiar with how scripting works in note tags syntax-wise. Would it look something like this

<Custom Respond Effect>
var actor = $gameActors.actor(28);
actor.addHrg(0.7)
</Custom Respond Effect>

Update: Thank you, I think I have the biggest headache in the world.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-extraparamformula.175195/