If this seems familiar, it's because I made a post asking how I could temporarily increase/ decrease actor's defense or offense using numbers that I set instead of using the built in buff and de-buff system.
After a while of playtesting, I realized that these skills that increase/ decrease defense or offense become useless once the player gets to a certain point. So I'd like to make them instead use the target's defense or offense to calculate their added defense or offense.
I was also using Yanfly's Buffs and States Core and Auto Passive States because the solution I was given was to use those which worked.
This was the Solution.
<custom apply effect>
target.addParam(3, x); //x is amount of def to increase, 3 refers to numeric ID of param to change
</custom apply effect>
I tried changing x to a.def, def, and x% and it didn't work, so I'm pretty stumped and need help on this.
After a while of playtesting, I realized that these skills that increase/ decrease defense or offense become useless once the player gets to a certain point. So I'd like to make them instead use the target's defense or offense to calculate their added defense or offense.
I was also using Yanfly's Buffs and States Core and Auto Passive States because the solution I was given was to use those which worked.
This was the Solution.
<custom apply effect>
target.addParam(3, x); //x is amount of def to increase, 3 refers to numeric ID of param to change
</custom apply effect>
I tried changing x to a.def, def, and x% and it didn't work, so I'm pretty stumped and need help on this.