The way I did it is in AOS.cs search for the top line of the code and add the rest. (works on current version of ServUO and has for a long time.
public static int Damage(IDamageable damageable, Mobile from, int damage, bool ignoreArmor, int phys, int fire, int cold, int pois, int nrgy...