I am trying to create a variable that stores the value of the user's magic attack (divided by 10) and have the Absorption Shield plugin use the <User Barrier: +#> script in it. However, I am having a difficult time figuring out how I can store the value into the variable. Right now my code looks like this:
The skill targets one ally. I have all of the plugins, as well.
I also tried doing
but it didn't work. It seems to only work with integers.
Code:
var addShield = user.mat / 10;
<Target Barrier: +addShield>
The skill targets one ally. I have all of the plugins, as well.
I also tried doing
Code:
<Target Barrier: +(user.mat/10)>
but it didn't work. It seems to only work with integers.