Scan your suit for lmc and plug it in. You only need about 4 or 5 of those. Mana required1/2/3/4/5. One for 5, 10, 15, 20 mana... not really sure, been a while since I've messed with it, but there's only so many mana configs you need and they work for everything, including spells/chiv/necro/whatever...
set %manaRequired %manaCost - ( ( %manaCost * %userLmc) / 100 )