There are about a thousand tutorials. Put your items in your first 2-3 slots in inventory. Get your chard id and use
Code:
select * from _Inventory where charid = YOUR_CHARID
Your first inventory slot is at slot 13, take the item id (from slot 14 and 15 too).
Code:
select * from _items where ID64 IN (item1,item2,item3)
There you can see MagParamNum and the rest of the columns responsible for blues.
If I misunderstood the question and you are interested in how to calculate the values, there's a tutorial around epvp I suggest you find it.