Okay, this would apply to many things. It would apply to chainlink fence when charged and lightning. Also, an enchantment for weapons. Shock would destroy your health faster but last shorter than fire. Pretty much a way to prevent the player it is used against to heal themselves with a potion if their health is low and you inflict this on them. This would be fun for PVP and just add a touch to the game that should already be there. Hmm, shocking.
Sorry, I was in a crunch of time. It does the same damage as fire or poison (Half a heart) but does it way faster than fire or poison, making it harder to rid yourself of it before it does the max damage it could inflict. Yes there should be an enchantment called lightning rod for armor and a potion effect called shock resistance. It should stun you for a second if it is lightning. The enchantments would be shock one and two but lightning would be an equivalent of three or four.
So if i were to pvp you and i had shock on my sword that lasts 10 seconds and a half of heart per second i could hit you a minimum of 3 times and you'd be dead? what?
Stay fluffy~