I would also like to know because I'd like to make an ability that makes Grass, Electric, and Dragon types weak to Electric. So far I have this.
Battle::AbilityEffects::DamageCalcFromUser.add(:ABILITY,
proc { |ability, user, target, move, mults, power, type|
return...