Hi, I am also using Yanfly's Element Core plugin and was wondering if there was a way
Um Thread Jacking is kinda against the rules here.
To Quickly Answer your Thread Jack,
It's not as easy as it sounds, Yanfly element Core mostly looks at states, and treats the note tags you input as a kind of "Trait". This means all of this data is preloaded and calculated based off the Actors Classes, States and Equips.
The Code you used in that tag, which looks like it comes from Damage Core or something is actually invalid for several reasons.
1. you are not actually changing the element rates, they are stored within the DataBase and the game uses a function to calculate the total.
2. ElementRate is not a function, JS code is case sensitive
3. you are trying to modify the return value of a function. this will probably throw errors( Ive coded in JS for a while, i don't actually know what happens if you try this!)
in short Element Core and MV traits themselves do not allow this