There's a tut/snippet for this, all you do is go to the main method thats used for npc drops which is dropItem in pi and create an array or something containing the type of charms and amount of charms to drop then call em with the createGroundItem method