Fix double damage calculation initiated by Joy of Pain and adjust the damage calculation to follow l1j-hack.