Temporarily Boost Stat by a Set Value

Is it possible to boost a stat temporarily, similar to a buff, but instead of a percent by an exact number?

For example I'm trying to make an item that would boost a players DEF by 5 points for 3 turns, and then it would wear off, or it would wear off if the battle ended.

I would prefer this instead of the buff since buffs use percentages. Thus a percentage boost would be different for each character that used it, and I would like it to be a set amount no matter who uses the item.
that's not really possible without some sort of script, you could add a common event call back, but you have to remove the buff manually in each and every troop page. that is asking for problems. It should be noted that buffs are kinda random and can't be adjusted at all.

I think there's a plugin that might do this made by Galv? or Tsukihime. can't remember,

If it doesn't I'm sure i can throw something your way.
I believe you could pull this off with Hime's Parameter Bonuses or through clever use of Yanfly's Lunatic States.
Hmmm, seems like this may be a little more trouble than it's worth. Thanks for the input anyway, but I think I'll just table my plan on this for now.

Original thread: https://forums.rpgmakerweb.com/threads/temporarily-boost-stat-by-a-set-value.79500/