Auto Set Equipment Price (+) with Parameters

I'm looking for a script that will use the fixed set price in the equipment database, but will also add a set amount to the cost per point in a parameter. EX: Base price from database = 1000. Equipment has 10 atk and 10 def. So, it would be 1000 from base price + (10 atk * atk price value) + (10 def + def price value.
https://raw.githubusercontent.com/DreamXRMMV/Rpg-Maker-MV/master/DreamX_PriceParam.js
Thanks again @DreamX.

Original thread: https://forums.rpgmakerweb.com/threads/auto-set-equipment-price-with-parameters.60335/