Yanfly Lunatic Paramaters Help!

I am trying to get a spell that adds a state, while the state is active all MDF(rst) is added on as additional LUK(bst) for the duration.

I currently have the state notetag as

<custom LUK>

Glean

</custom LUK>

 

in the script I have added

 

            when /Glean/i

              total = (mdf + luk)

 

nothing is occuring at all anyone exoerienced with this script that can offer help?



Script Link

https://yanflychannel.wordpress.com/rmvxa/battle-scripts/lunatic-parameters/
I think you might need to do this

when /Glean/i total = (self.mdf + self.luk)Hope that helps!

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-lunatic-paramaters-help.35696/