Level Up with certain Equipment equipped, get a Stat Bonus

Here are two ACE scripts which do what I want, but I need them in VX format...

http://yanflychannel.wordpress.com/rmvxa/g...r-bonus-growth/

http://galvs-scripts.com/galvs-equip-level-up-bonuses/

For example, when you level up with a Leather Breastplate, you get +5 Def on top of whatever other Defense you got when leveling up. Pretty simple concept.

I tried Big Ed's script that does this, but complicated compatibility issues arose, so something modeled differently might be needed.

Original thread: https://forums.rpgmakerweb.com/threads/level-up-with-certain-equipment-equipped-get-a-stat-bonus.26533/