fix calculate odds at 0 attack