How to change elemental damage types using Nearinfinity?

Using Narbucchad's Demise +1 as a template I've been trying to create a lightning halberd that shoots bolts instead of magic missles. Though I fortunate managed to change the projectile the magic based damage remains the same. How would one go about changing the damage values using Near infinity in reference to elemental damage?
0