More potion heal % for each missing %hp

Can someone help me creating a item :

The item when equiped, will make potions heal +% for each % missing hp, can rpg maker do that? How?
you can use item formula... then do the calculation there.

try asking in

http://forums.rpgmakerweb.com/index.php?/topic/47099-rmmv-damage-formula-ideas-and-help/
I think it is possible with Yanfly´s Item Core
when making the item, there is a SP paramater called pharmacology that effects the power of items used by character you might try that
You can make the potions have extra heal based on %hp if determined armor is equipped using this formula:

x = 500; y = 100 - (b.hp * 100/b.mhp);if(b.isEquipped($dataArmors[id])) {x * (1 + y/100)} else {x};"x = 500"  

"500" is how much the potion will heal without any bonuses.

"$dataArmors[id]" 

"id" is the id of the armor required for the bonus healing.

Spoiler
otMBVB2.png

Original thread: https://forums.rpgmakerweb.com/threads/more-potion-heal-for-each-missing-hp.49544/